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",
|
2018-03-27 19:43:14 +00:00
|
|
|
"lint:fix": "grunt fix",
|
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-06-18 14:09:28 +00:00
|
|
|
"check-built-assets": "echo 'CHECKING BUILD SOURCES ARE COMMITTED OR STAGED' && 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",
|
2018-06-18 14:09:28 +00:00
|
|
|
"clean-webpack-plugin": "0.1.19",
|
2017-10-09 14:56:15 +00:00
|
|
|
"eslint-config-wikimedia": "0.5.0",
|
2018-04-30 15:41:26 +00:00
|
|
|
"grunt": "1.0.2",
|
2017-10-09 14:56:15 +00:00
|
|
|
"grunt-banana-checker": "0.6.0",
|
2018-04-30 15:41:26 +00:00
|
|
|
"grunt-contrib-watch": "1.0.1",
|
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-04-30 15:41:26 +00:00
|
|
|
"grunt-stylelint": "0.10.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-04-09 09:55:43 +00:00
|
|
|
"mw-node-qunit": "4.0.0",
|
2018-04-30 15:41:26 +00:00
|
|
|
"nodemon": "1.17.3",
|
2017-02-02 22:49:42 +00:00
|
|
|
"redux": "3.6.0",
|
|
|
|
"redux-thunk": "2.2.0",
|
2018-04-30 15:41:26 +00:00
|
|
|
"stylelint": "9.2.0",
|
|
|
|
"stylelint-config-wikimedia": "0.4.3",
|
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-27 19:43:43 +00:00
|
|
|
"maxSize": "12KB"
|
2018-01-30 17:02:46 +00:00
|
|
|
}
|
|
|
|
]
|
2015-06-20 05:09:03 +00:00
|
|
|
}
|