2015-06-20 05:09:03 +00:00
|
|
|
{
|
2019-08-15 19:39:26 +00:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2019-12-12 21:08:22 +00:00
|
|
|
"storybook": "./.storybook/storybook-resources.sh && start-storybook --config-dir=.storybook -p 6006 -s .storybook/static",
|
|
|
|
"build-storybook": "./.storybook/storybook-resources.sh && build-storybook --config-dir=.storybook -o docs/ui -s .storybook/static",
|
2019-08-15 19:39:26 +00:00
|
|
|
"start": "webpack -w --mode=development",
|
|
|
|
"build": "webpack --mode=production",
|
|
|
|
"lint:fix": "grunt fix",
|
2019-07-16 19:12:30 +00:00
|
|
|
"test:unit": "mw-node-qunit 'tests/node-qunit/**/*.test.js' --require \"$PWD/tests/node-qunit/run.js\" | tap-mocha-reporter dot",
|
2019-09-04 17:49:22 +00:00
|
|
|
"test": "npm -s run check-built-assets && grunt lint && npm -s run coverage && npm -s run -s doc && bundlesize && npm run build-storybook",
|
|
|
|
"doc": "jsdoc -c jsdoc.json && npm run build-storybook",
|
2019-08-15 19:39:26 +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; }",
|
|
|
|
"coverage": "SPAWN_WRAP_SHIM_ROOT=\"$PWD/.nyc_output\" nyc npm -s run test:unit",
|
|
|
|
"precommit": "npm -s t",
|
|
|
|
"selenium-daily": "npm run selenium-test",
|
|
|
|
"selenium-test": "wdio tests/selenium/wdio.conf.js"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": "10.15.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/core": "7.2.0",
|
|
|
|
"@babel/preset-env": "7.2.0",
|
|
|
|
"@babel/register": "7.0.0",
|
2019-09-04 17:49:22 +00:00
|
|
|
"@storybook/addon-cssresources": "5.2.5",
|
|
|
|
"@storybook/addon-knobs": "5.2.5",
|
|
|
|
"@storybook/addon-options": "5.2.5",
|
|
|
|
"@storybook/html": "5.1.10",
|
2019-08-15 19:39:26 +00:00
|
|
|
"@types/jquery": "3.3.29",
|
2020-07-25 13:38:21 +00:00
|
|
|
"@wdio/cli": "6.3.5",
|
|
|
|
"@wdio/junit-reporter": "6.1.5",
|
|
|
|
"@wdio/local-runner": "6.3.5",
|
|
|
|
"@wdio/mocha-framework": "6.3.0",
|
|
|
|
"@wdio/spec-reporter": "6.3.0",
|
|
|
|
"@wdio/sync": "6.3.3",
|
2019-10-21 21:54:46 +00:00
|
|
|
"@wikimedia/mw-node-qunit": "6.1.0",
|
2019-08-15 19:39:26 +00:00
|
|
|
"babel-loader": "8.0.4",
|
|
|
|
"bundlesize": "0.18.0",
|
2020-04-27 18:58:30 +00:00
|
|
|
"clean-webpack-plugin": "3.0.0",
|
2019-09-04 17:49:22 +00:00
|
|
|
"cssjanus": "1.3.1",
|
2020-09-26 20:18:00 +00:00
|
|
|
"eslint-config-wikimedia": "0.17.0",
|
2019-09-04 17:49:22 +00:00
|
|
|
"expose-loader": "0.7.5",
|
2020-06-26 16:24:26 +00:00
|
|
|
"grunt": "1.1.0",
|
2020-06-26 16:28:21 +00:00
|
|
|
"grunt-banana-checker": "0.9.0",
|
2019-08-15 19:39:26 +00:00
|
|
|
"grunt-contrib-watch": "1.1.0",
|
2020-06-22 21:49:14 +00:00
|
|
|
"grunt-eslint": "23.0.0",
|
2020-06-26 16:12:10 +00:00
|
|
|
"grunt-stylelint": "0.15.0",
|
2019-08-15 19:39:26 +00:00
|
|
|
"grunt-svgmin": "5.0.0",
|
2020-02-04 09:02:58 +00:00
|
|
|
"jquery": "3.4.1",
|
2019-08-15 19:39:26 +00:00
|
|
|
"jsdoc": "3.6.3",
|
2019-09-04 17:49:22 +00:00
|
|
|
"less": "3.8.1",
|
|
|
|
"less-loader": "4.1.0",
|
2020-02-04 07:35:29 +00:00
|
|
|
"nyc": "15.0.0",
|
2019-08-15 19:39:26 +00:00
|
|
|
"pre-commit": "1.2.2",
|
|
|
|
"redux": "4.0.1",
|
|
|
|
"redux-thunk": "2.3.0",
|
2020-06-26 16:12:10 +00:00
|
|
|
"stylelint-config-wikimedia": "0.10.1",
|
2019-08-15 19:39:26 +00:00
|
|
|
"svg-inline-loader": "0.8.0",
|
2020-01-07 00:13:12 +00:00
|
|
|
"tap-mocha-reporter": "5.0.1",
|
2019-09-04 17:49:22 +00:00
|
|
|
"url-loader": "1.1.2",
|
2020-07-24 11:22:26 +00:00
|
|
|
"wdio-mediawiki": "1.0.0",
|
2020-07-25 13:38:21 +00:00
|
|
|
"webdriverio": "6.3.5",
|
2019-08-15 19:39:26 +00:00
|
|
|
"webpack": "4.27.1",
|
|
|
|
"webpack-cli": "3.1.2"
|
|
|
|
},
|
|
|
|
"bundlesize": [
|
|
|
|
{
|
|
|
|
"path": "resources/dist/index.js",
|
2021-03-09 17:21:48 +00:00
|
|
|
"maxSize": "14.08kB"
|
2019-08-15 19:39:26 +00:00
|
|
|
}
|
|
|
|
]
|
2015-06-20 05:09:03 +00:00
|
|
|
}
|