forked from wikimedia/mediawiki-extensions-MobileFrontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.65 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
{
"name": "MobileFrontend",
"private": true,
"scripts": {
"coverage": "cross-env NODE_ENV=test nyc npm -s run test:unit",
"start": "webpack -w --mode=development",
"build": "webpack --mode=production",
"precommit": "npm -s run lint:frontend && npm -s run coverage && npm -s run test:bundle && composer test",
"test:unit": "mw-node-qunit --require @babel/register \"tests/node-qunit/**/*.test.js\"",
"lint": "eslint --ext .json . && npm -s run lint:i18n && npm -s run lint:frontend",
"lint:es5": "eslint --no-eslintrc --ignore-path .eslintignore.es5.js resources",
"lint:frontend": "npm -s run lint:es5 && npm -s run lint:js && npm -s run lint:css",
"lint:js": "eslint --cache --max-warnings 0 .",
"lint:css": "stylelint '**/*.less'",
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
"selenium-test-cucumber": "wdio tests/selenium/wdio.conf.cucumber.js",
"selenium-daily": "npm run selenium-test",
"selenium-test": "wdio tests/selenium/wdio.conf.js",
"test": "npm -s run lint && bash ./dev-scripts/svg_check.sh && npm -s run coverage && npm -s run test:bundle && npm -s run jsdoc",
"test:bundle": "bash ./dev-scripts/check_bundle.sh",
"jsdoc": "jsdoc -c jsdoc.json",
"doc": "npm run jsdoc && npm run build-storybook && npm run coverage",
"storybook": "./dev-scripts/storybook.sh && start-storybook",
"build-storybook": "./dev-scripts/storybook.sh && build-storybook -o docs/ui"
},
"engines": {
"node": "12.22.5"
},
"pre-commit": "precommit",
"devDependencies": {
"@babel/core": "7.2.2",
"@babel/preset-env": "7.3.1",
"@babel/register": "7.0.0",
"@storybook/addon-actions": "5.3.21",
"@storybook/html": "5.1.10",
"@wdio/cli": "5.22.4",
"@wdio/cucumber-framework": "5.20.0",
"@wdio/local-runner": "5.22.4",
"@wdio/mocha-framework": "5.18.7",
"@wdio/spec-reporter": "5.22.4",
"@wdio/sync": "5.20.1",
"@wikimedia/mw-node-qunit": "6.2.1",
"babel-loader": "8.0.5",
"babel-plugin-istanbul": "5.2.0",
"bundlesize": "0.18.1",
"clean-webpack-plugin": "0.1.19",
"cross-env": "5.2.1",
"eslint-config-wikimedia": "0.16.0",
"grunt-banana-checker": "0.9.0",
"jquery": "3.5.1",
"jsdoc": "3.6.10",
"jsdom": "12.2.0",
"less": "^3.8.1",
"less-loader": "^4.1.0",
"mustache": "3.0.1",
"mwbot": "1.0.10",
"nyc": "15.0.0",
"oojs": "3.0.0",
"oojs-ui": "0.39.0",
"pre-commit": "1.2.2",
"sinon": "4.5.0",
"stylelint": "13.13.1",
"stylelint-config-wikimedia": "0.10.3",
"svgo": "1.3.2",
"wdio-mediawiki": "1.0.0",
"webdriverio": "5.22.4",
"webpack": "4.43.0",
"webpack-cli": "3.3.11"
},
"bundlesize": [
{
"path": "resources/dist/mobile.startup.runtime.js",
"maxSize": "0.8KB"
},
{
"path": "resources/dist/mobile.common.js",
"maxSize": "14.2KB"
},
{
"path": "resources/dist/mobile.editor.overlay.js",
"maxSize": "9.0KB"
},
{
"path": "resources/dist/mobile.editor.ve.js",
"maxSize": "0.3B"
},
{
"path": "resources/dist/mobile.init.js",
"maxSize": "4.6KB"
},
{
"path": "resources/dist/mobile.startup.js",
"maxSize": "5.2KB"
},
{
"path": "resources/dist/mobile.languages.structured.js",
"maxSize": "1.9KB"
},
{
"path": "resources/dist/mobile.mediaViewer.js",
"maxSize": "2.5KB"
},
{
"path": "resources/dist/mobile.special.mobileoptions.scripts.js",
"maxSize": "1.02KB"
},
{
"path": "resources/dist/mobile.special.userlogin.scripts.js",
"maxSize": "0.3KB"
},
{
"path": "resources/dist/mobile.special.watchlist.scripts.js",
"maxSize": "1.3KB"
},
{
"path": "resources/dist/mobile.talk.overlays.js",
"maxSize": "2.5KB"
},
{
"path": "resources/dist/mobile.categories.overlays.js",
"maxSize": "2.5KB"
}
]
}