-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 3.68 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"private": true,
"scripts": {
"coverage": "nyc npm -s run test:unit",
"start": "webpack -w --mode=development",
"build": "webpack --mode=production",
"precommit": "npm -s run test:bundle-cached && composer test && npm -s run lint:frontend && npm -s run coverage",
"test:unit": "qunit --require @babel/register 'tests/node-qunit/**/*.test.js'",
"lint": "grunt i18n && npm -s run lint:frontend",
"lint:es5": "eslint --no-eslintrc --no-ignore resources",
"lint:frontend": "npm -s run lint:es5 && npm -s run lint:js && grunt stylelint",
"lint:js": "eslint --cache --max-warnings 0 --report-unused-disable-directives .",
"test": "npm -s run test:bundle && npm -s run lint && npm -s run doc && dev-scripts/svg_check.sh && npm -s run coverage",
"test:bundle": "bash ./dev-scripts/check_bundle.sh 'HEAD^'",
"test:bundle-cached": "bash ./dev-scripts/check_bundle.sh --cached",
"doc": "jsdoc -c jsdoc.json",
"lint:modules": "resource-modules ./"
},
"engines": {
"node": "10.22.0"
},
"pre-commit": "precommit",
"devDependencies": {
"@babel/core": "7.2.2",
"@babel/preset-env": "7.3.1",
"@babel/register": "7.0.0",
"@wikimedia/resource-modules": "3.1.0-0",
"babel-loader": "8.0.5",
"bundlesize": "0.17.0",
"clean-webpack-plugin": "0.1.19",
"eslint": "5.13.0",
"eslint-config-wikimedia": "0.10.1",
"grunt": "1.0.3",
"grunt-banana-checker": "0.6.0",
"grunt-contrib-watch": "1.1.0",
"grunt-jsonlint": "1.1.0",
"grunt-notify": "0.4.5",
"grunt-stylelint": "0.10.1",
"hogan.js": "2.0.0",
"jquery": "3.3.1",
"jsdoc": "3.5.5",
"jsdom": "12.2.0",
"nyc": "13.0.1",
"oojs": "2.2.2",
"pre-commit": "1.2.2",
"qunit": "2.7.0",
"sinon": "1.17.3",
"stylelint-config-wikimedia": "0.5.0",
"svgo": "1.1.1",
"wdio-cucumber-framework": "1.1.1",
"wdio-mediawiki": "0.3.0",
"wdio-mocha-framework": "0.5.13",
"wdio-spec-reporter": "0.1.4",
"webdriverio": "4.13.1",
"webpack": "4.21.0",
"webpack-cli": "3.1.2"
},
"bundlesize": [
{
"path": "resources/dist/mobile.startup.runtime.js",
"maxSize": "0.8KB"
},
{
"path": "resources/dist/mediawiki.template.hogan.js",
"maxSize": "2.5KB"
},
{
"path": "resources/dist/mobile.common.js",
"maxSize": "13.5KB"
},
{
"path": "resources/dist/mobile.editor.overlay.js",
"maxSize": "8.0KB"
},
{
"path": "resources/dist/mobile.editor.ve.js",
"maxSize": "2.0KB"
},
{
"path": "resources/dist/mobile.init.js",
"maxSize": "3.7KB"
},
{
"path": "resources/dist/mobile.startup.js",
"maxSize": "4.5KB"
},
{
"path": "resources/dist/mobile.languages.structured.js",
"maxSize": "1.7KB"
},
{
"path": "resources/dist/mobile.notifications.overlay.js",
"maxSize": "1.5KB"
},
{
"path": "resources/dist/mobile.mediaViewer.js",
"maxSize": "2.5KB"
},
{
"path": "resources/dist/mobile.special.mobilediff.scripts.js",
"maxSize": "0.8KB"
},
{
"path": "resources/dist/mobile.special.mobileoptions.scripts.js",
"maxSize": "1KB"
},
{
"path": "resources/dist/mobile.special.userlogin.scripts.js",
"maxSize": "0.3KB"
},
{
"path": "resources/dist/mobile.special.uploads.scripts.js",
"maxSize": "1.7KB"
},
{
"path": "resources/dist/mobile.special.watchlist.scripts.js",
"maxSize": "1.3KB"
},
{
"path": "resources/dist/mobile.talk.overlays.js",
"maxSize": "2.7KB"
},
{
"path": "resources/dist/mobile.categories.overlays.js",
"maxSize": "2.4KB"
}
]
}