forked from wikimedia/mediawiki-extensions-Wikibase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 3.51 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
{
"name": "Wikibase",
"version": "0.1.0",
"private": true,
"config": {
"remoteVersion": {
"vue": "https://raw.githubusercontent.com/wikimedia/mediawiki/#{ZUUL_BRANCH}/resources/lib/vue/vue.common.prod.js"
}
},
"scripts": {
"api-testing": "npm-run-all -p api-testing:*",
"api-testing:wikibase": "mocha --timeout 0 --recursive tests/api-testing",
"api-testing:rest-api": "npm --prefix repo/rest-api run api-testing",
"doc": "npm-run-all doc:*",
"doc:jsduck": "jsduck",
"doc:data-bridge-storybook": "npm --prefix client/data-bridge run build-storybook -- -o ../../docs/data-bridge-storybook",
"doc:data-bridge-dist-size": "node build/dist-size/analyze docs/data-bridge-dist-size wikimedia mediawiki-extensions-Wikibase client/data-bridge/dist/data-bridge.init.js client/data-bridge/dist/data-bridge.common.js client/data-bridge/dist/data-bridge.app.js client/data-bridge/dist/data-bridge.app.modern.js client/data-bridge/dist/vendor-chunks.js client/data-bridge/dist/css/data-bridge.app.css client/data-bridge/dist/data-bridge.css",
"doc:tainted-ref-storybook": "npm --prefix view/lib/wikibase-tainted-ref run build-storybook -- -o ../../../docs/tainted-ref-storybook",
"doc:tainted-ref-dist-size": "node build/dist-size/analyze docs/tainted-ref-dist-size wikimedia mediawiki-extensions-Wikibase view/lib/wikibase-tainted-ref/dist/tainted-ref.init.js view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js view/lib/wikibase-tainted-ref/dist/tainted-ref.app.css",
"doc:rest-api": "npm --prefix repo/rest-api run build",
"install:bridge": "npm --prefix client/data-bridge ci",
"install:tainted-ref": "npm --prefix view/lib/wikibase-tainted-ref ci",
"install:rest-api": "npm --prefix repo/rest-api ci",
"postinstall": "npm-run-all -p install:*",
"selenium": "killall -0 chromedriver 2>/dev/null || chromedriver --url-base=/wd/hub --port=4444 & npm run selenium-test; killall chromedriver",
"selenium-daily": "MEDIAWIKI_USER='Selenium user' MW_SERVER=https://wikidata.beta.wmflabs.org:443 MW_SCRIPT_PATH=/w WIKIBASE_PROPERTY_STRING=P443 npm run selenium-test",
"selenium-test": "npm-run-all --continue-on-error selenium-test:*",
"selenium-test:repo": "wdio repo/tests/selenium/wdio.conf.js",
"selenium-test:bridge": "npm --prefix client/data-bridge run selenium-test",
"test": "npm-run-all -p test-fast:*",
"test-fast:grunt": "grunt test",
"test-fast:bridge": "npm --prefix client/data-bridge test",
"test-fast:tainted-ref": "npm --prefix view/lib/wikibase-tainted-ref test",
"test-fast:mwlibs": "echo 'disabled (T297381)' # ZUUL_BRANCH=${ZUUL_BRANCH:-master} lib-version-check",
"test-fast:rest-api": "npm --prefix repo/rest-api test",
"coverage": "npm --prefix client/data-bridge run-script test-unit-coverage",
"fix": "grunt fix"
},
"devDependencies": {
"@wdio/cli": "^7.16.13",
"@wdio/local-runner": "^7.16.16",
"@wdio/mocha-framework": "^7.16.15",
"@wdio/spec-reporter": "7.16.13",
"@wdio/sync": "^7.16.13",
"@wmde/lib-version-check": "^0.1.0",
"api-testing": "^1.5.0",
"apollo-boost": "^0.4.9",
"cross-fetch": "^3.1.5",
"eslint-config-wikimedia": "0.22.1",
"grunt": "1.4.1",
"grunt-banana-checker": "0.9.0",
"grunt-eslint": "24.0.0",
"grunt-stylelint": "0.16.0",
"mocha": "^9.2.0",
"npm-run-all": "^4.1.5",
"stylelint-config-wikimedia": "0.11.1",
"vue": "^2.6.11",
"wdio-mediawiki": "^1.2.0",
"wdio-wikibase": "^5.2.0",
"webdriverio": "^7.16.13"
},
"eslintIgnore": [
"extensions/**",
"vendor/**",
"view/lib/**",
"client/data-bridge/"
],
"browserslist": [
"ie 11"
]
}