package.json
{
"name": "wikibase",
"version": "0.1.0",
"private": true,
"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-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-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:rest-api": "npm --prefix repo/rest-api test",
"test-fast:jest-repo": "jest repo/tests/jest/",
"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",
"api-testing": "^1.7.0",
"apollo-boost": "^0.4.9",
"cross-fetch": "^3.1.5",
"eslint-config-wikimedia": "^0.25.1",
"grunt": "1.6.1",
"grunt-banana-checker": "0.13.0",
"grunt-eslint": "24.3.0",
"grunt-stylelint": "0.20.1",
"jest": "^29.3.1",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"stylelint-config-wikimedia": "0.17.2",
"wdio-mediawiki": "^2.2.0",
"wdio-wikibase": "^6.0.3"
},
"eslintIgnore": [
"extensions/**",
"vendor/**",
"view/lib/**",
"client/data-bridge/"
],
"browserslist": [
"Safari 11.1"
]
}