2015-06-20 05:09:03 +00:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2018-03-16 19:19:29 +00:00
|
|
|
"start": "webpack -dw",
|
|
|
|
"build": "NODE_ENV=production webpack -p",
|
2017-07-28 17:32:46 +00:00
|
|
|
"test:node": "node tests/node-qunit/run.js 'tests/node-qunit/**/*.test.js' | tap-dot",
|
2017-05-10 17:58:07 +00:00
|
|
|
"test:dev": "grunt lint && npm run test:node",
|
2018-03-19 19:44:14 +00:00
|
|
|
"test": "npm run check-built-assets && npm run test:dev && npm run doc",
|
2017-05-19 11:28:35 +00:00
|
|
|
"doc": "jsdoc -c jsdoc.json",
|
2017-05-25 11:27:43 +00:00
|
|
|
"doc:start": "nodemon --watch src --exec 'npm run doc'",
|
2018-03-20 18:33:01 +00:00
|
|
|
"check-built-assets": "echo 'CHECKING BUILD SOURCES ARE COMMITTED OR STAGED' && rm -rf resources/dist/ && npm run build && git diff -q resources/dist",
|
2017-05-10 17:58:07 +00:00
|
|
|
"coverage": "istanbul cover node_modules/.bin/mw-node-qunit tests/node-qunit/*.js tests/node-qunit/**/*.js",
|
2018-01-30 17:02:46 +00:00
|
|
|
"precommit": "npm run test:dev && npm run build && git add resources/dist && bundlesize"
|
2015-06-20 05:09:03 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-03-12 15:28:23 +00:00
|
|
|
"babel-loader": "7.1.4",
|
2018-03-20 13:26:16 +00:00
|
|
|
"babel-preset-env": "1.6.0",
|
|
|
|
"babel-register": "6.24.1",
|
2018-01-30 17:02:46 +00:00
|
|
|
"bundlesize": "0.15.3",
|
2017-10-09 14:56:15 +00:00
|
|
|
"eslint-config-wikimedia": "0.5.0",
|
2016-12-16 11:11:54 +00:00
|
|
|
"grunt": "1.0.1",
|
2017-10-09 14:56:15 +00:00
|
|
|
"grunt-banana-checker": "0.6.0",
|
2018-03-20 13:26:16 +00:00
|
|
|
"grunt-contrib-watch": "1.0.0",
|
2018-02-04 22:09:45 +00:00
|
|
|
"grunt-eslint": "20.1.0",
|
2016-12-16 11:11:54 +00:00
|
|
|
"grunt-jsonlint": "1.1.0",
|
2018-02-04 22:09:45 +00:00
|
|
|
"grunt-stylelint": "0.9.0",
|
2018-03-20 13:26:16 +00:00
|
|
|
"husky": "0.13.3",
|
|
|
|
"istanbul": "0.4.5",
|
2018-03-20 13:46:06 +00:00
|
|
|
"jsdoc": "3.5.5",
|
2018-03-20 13:26:16 +00:00
|
|
|
"mw-node-qunit": "3.0.0",
|
|
|
|
"nodemon": "1.11.0",
|
2017-02-02 22:49:42 +00:00
|
|
|
"redux": "3.6.0",
|
|
|
|
"redux-thunk": "2.2.0",
|
2018-02-04 22:09:45 +00:00
|
|
|
"stylelint": "8.2.0",
|
|
|
|
"stylelint-config-wikimedia": "0.4.2",
|
2018-03-07 19:53:09 +00:00
|
|
|
"svg-inline-loader": "0.8.0",
|
2018-03-20 13:26:16 +00:00
|
|
|
"tap-dot": "1.0.5",
|
2018-03-16 19:19:29 +00:00
|
|
|
"webpack": "4.1.1",
|
|
|
|
"webpack-cli": "2.0.12"
|
2018-01-30 17:02:46 +00:00
|
|
|
},
|
|
|
|
"bundlesize": [
|
|
|
|
{
|
|
|
|
"path": "resources/dist/index.js",
|
2018-03-20 19:06:49 +00:00
|
|
|
"maxSize": "11.5KB"
|
2018-01-30 17:02:46 +00:00
|
|
|
}
|
|
|
|
]
|
2015-06-20 05:09:03 +00:00
|
|
|
}
|