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-05-10 17:58:07 +00:00
|
|
|
"test:node": "mw-node-qunit tests/node-qunit/*.js tests/node-qunit/**/*.js | tap-dot",
|
|
|
|
"test:dev": "grunt lint && npm run test:node",
|
|
|
|
"test": " npm run check-built-assets && npm run test:dev",
|
2017-02-13 13:53:52 +00:00
|
|
|
"doc": "jsduck",
|
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-05-04 20:55:59 +00:00
|
|
|
"eslint-config-wikimedia": "0.4.0",
|
2016-12-16 11:11:54 +00:00
|
|
|
"grunt": "1.0.1",
|
|
|
|
"grunt-banana-checker": "0.5.0",
|
|
|
|
"grunt-cli": "^1.2.0",
|
2016-11-08 15:59:22 +00:00
|
|
|
"grunt-contrib-watch": "^1.0.0",
|
2016-12-16 11:11:54 +00:00
|
|
|
"grunt-eslint": "19.0.0",
|
|
|
|
"grunt-jsonlint": "1.1.0",
|
|
|
|
"grunt-stylelint": "^0.6.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-02-22 11:10:42 +00:00
|
|
|
"mock-require": "^2.0.1",
|
2017-03-03 12:34:33 +00:00
|
|
|
"mw-node-qunit": "^1.0.6",
|
2017-02-02 22:49:42 +00:00
|
|
|
"redux": "3.6.0",
|
|
|
|
"redux-thunk": "2.2.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-03-03 10:24:45 +00:00
|
|
|
"webpack": "^2.2.1"
|
2015-06-20 05:09:03 +00:00
|
|
|
}
|
|
|
|
}
|