2015-06-20 05:09:03 +00:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2017-02-13 13:27:20 +00:00
|
|
|
"start": "webpack -w",
|
2017-05-08 18:50:59 +00:00
|
|
|
"build": "NODE_ENV=production webpack",
|
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",
|
2017-05-26 17:26:35 +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'",
|
2017-03-02 15:17:01 +00:00
|
|
|
"check-built-assets": "echo 'CHECKING BUILD SOURCES ARE COMMITED' && rm -rf test-build && mv resources/dist test-build && npm run build && diff -x '*.map' -r test-build resources/dist && rm -rf test-build",
|
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",
|
|
|
|
"precommit": "npm run test:dev && npm run build && git add resources/dist"
|
2015-06-20 05:09:03 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-07-28 17:32:46 +00:00
|
|
|
"babel-preset-env": "^1.6.0",
|
|
|
|
"babel-register": "^6.24.1",
|
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",
|
2016-11-08 15:59:22 +00:00
|
|
|
"grunt-contrib-watch": "^1.0.0",
|
2017-10-09 14:56:15 +00:00
|
|
|
"grunt-eslint": "20.0.0",
|
2016-12-16 11:11:54 +00:00
|
|
|
"grunt-jsonlint": "1.1.0",
|
2017-10-09 14:56:15 +00:00
|
|
|
"grunt-stylelint": "0.8.0",
|
2017-05-10 17:58:07 +00:00
|
|
|
"husky": "^0.13.3",
|
2017-03-03 12:34:33 +00:00
|
|
|
"istanbul": "^0.4.5",
|
2017-05-19 11:28:35 +00:00
|
|
|
"jsdoc": "^3.4.3",
|
2017-07-28 13:05:56 +00:00
|
|
|
"mw-node-qunit": "^2.1.1",
|
2017-05-25 11:27:43 +00:00
|
|
|
"nodemon": "^1.11.0",
|
2017-02-02 22:49:42 +00:00
|
|
|
"redux": "3.6.0",
|
|
|
|
"redux-thunk": "2.2.0",
|
2017-07-31 11:31:35 +00:00
|
|
|
"stylelint": "7.8.0",
|
2017-03-20 14:41:14 +00:00
|
|
|
"stylelint-config-wikimedia": "0.4.1",
|
2017-02-01 11:09:42 +00:00
|
|
|
"tap-dot": "^1.0.5",
|
2017-05-23 18:28:23 +00:00
|
|
|
"webpack": "^2.6.0"
|
2015-06-20 05:09:03 +00:00
|
|
|
}
|
|
|
|
}
|