2015-06-20 05:09:03 +00:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2018-10-05 16:30:08 +00:00
|
|
|
"start": "webpack -w --mode=development",
|
2019-03-07 20:31:55 +00:00
|
|
|
"build": "webpack --mode=production",
|
2018-03-27 19:43:14 +00:00
|
|
|
"lint:fix": "grunt fix",
|
2019-01-24 15:29:27 +00:00
|
|
|
"test:unit": "node tests/node-qunit/run.js 'tests/node-qunit/**/*.test.js' | tap-mocha-reporter dot",
|
2018-05-01 18:40:05 +00:00
|
|
|
"test": "npm -s run check-built-assets && grunt lint && npm -s run coverage && npm -s run -s doc && bundlesize",
|
2017-05-19 11:28:35 +00:00
|
|
|
"doc": "jsdoc -c jsdoc.json",
|
2018-08-28 21:33:54 +00:00
|
|
|
"node-debug": "node -v && npm -v && echo 'Please ensure you are running the correct version of nvm before running this command.'",
|
|
|
|
"check-built-assets": "echo 'CHECKING BUILD SOURCES ARE COMMITTED OR STAGED' && npm -s run build && git diff --exit-code resources/dist || { npm run node-debug; false; }",
|
2019-01-24 15:29:27 +00:00
|
|
|
"coverage": "SPAWN_WRAP_SHIM_ROOT=\"$PWD/.nyc_output\" nyc npm -s run test:unit",
|
2018-07-31 16:04:12 +00:00
|
|
|
"precommit": "npm -s t",
|
|
|
|
"selenium-daily": "npm run selenium-test",
|
|
|
|
"selenium-test": "wdio tests/selenium/wdio.conf.js"
|
2015-06-20 05:09:03 +00:00
|
|
|
},
|
2018-08-28 21:33:54 +00:00
|
|
|
"engines": {
|
2019-06-03 20:14:50 +00:00
|
|
|
"node": "10.15.2"
|
2018-08-28 21:33:54 +00:00
|
|
|
},
|
2015-06-20 05:09:03 +00:00
|
|
|
"devDependencies": {
|
2018-12-03 10:08:49 +00:00
|
|
|
"@babel/core": "7.2.0",
|
|
|
|
"@babel/preset-env": "7.2.0",
|
|
|
|
"@babel/register": "7.0.0",
|
2019-02-11 22:02:10 +00:00
|
|
|
"@types/jquery": "3.3.29",
|
2018-06-28 22:33:27 +00:00
|
|
|
"@wikimedia/mw-node-qunit": "5.0.0",
|
2018-12-03 10:08:49 +00:00
|
|
|
"babel-loader": "8.0.4",
|
2018-12-13 02:55:07 +00:00
|
|
|
"bundlesize": "0.17.0",
|
|
|
|
"clean-webpack-plugin": "1.0.0",
|
2019-03-13 23:12:46 +00:00
|
|
|
"eslint-config-wikimedia": "0.11.0",
|
2018-09-11 11:53:15 +00:00
|
|
|
"grunt": "1.0.3",
|
2017-10-09 14:56:15 +00:00
|
|
|
"grunt-banana-checker": "0.6.0",
|
2018-12-13 02:55:07 +00:00
|
|
|
"grunt-contrib-watch": "1.1.0",
|
2018-09-11 11:53:15 +00:00
|
|
|
"grunt-eslint": "21.0.0",
|
2016-12-16 11:11:54 +00:00
|
|
|
"grunt-jsonlint": "1.1.0",
|
2018-09-11 11:53:15 +00:00
|
|
|
"grunt-stylelint": "0.10.1",
|
2018-02-12 19:36:32 +00:00
|
|
|
"grunt-svgmin": "5.0.0",
|
2018-03-20 13:46:06 +00:00
|
|
|
"jsdoc": "3.5.5",
|
2018-12-13 02:55:07 +00:00
|
|
|
"nyc": "13.1.0",
|
2018-12-13 03:29:00 +00:00
|
|
|
"pre-commit": "1.2.2",
|
2018-12-13 06:41:12 +00:00
|
|
|
"redux": "4.0.1",
|
|
|
|
"redux-thunk": "2.3.0",
|
2018-12-13 03:14:09 +00:00
|
|
|
"stylelint-config-wikimedia": "0.5.0",
|
2018-03-07 19:53:09 +00:00
|
|
|
"svg-inline-loader": "0.8.0",
|
2018-06-27 14:15:08 +00:00
|
|
|
"tap-mocha-reporter": "3.0.7",
|
2018-09-06 14:04:24 +00:00
|
|
|
"wdio-junit-reporter": "0.4.4",
|
2018-07-31 16:04:12 +00:00
|
|
|
"wdio-mediawiki": "0.2.0",
|
2019-06-03 20:14:50 +00:00
|
|
|
"wdio-mocha-framework": "0.6.4",
|
2018-12-13 04:54:22 +00:00
|
|
|
"wdio-spec-reporter": "0.1.5",
|
|
|
|
"webdriverio": "4.14.1",
|
2018-12-13 06:01:01 +00:00
|
|
|
"webpack": "4.27.1",
|
|
|
|
"webpack-cli": "3.1.2"
|
2018-01-30 17:02:46 +00:00
|
|
|
},
|
|
|
|
"bundlesize": [
|
|
|
|
{
|
|
|
|
"path": "resources/dist/index.js",
|
2019-04-05 10:31:54 +00:00
|
|
|
"maxSize": "13.6KB"
|
2018-01-30 17:02:46 +00:00
|
|
|
}
|
|
|
|
]
|
2015-06-20 05:09:03 +00:00
|
|
|
}
|