mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +00:00
9ed1703cf8
To get cross-shell and OS glob support and fix some of the sinon deprecation warnings regarding getConfig. Bug: T168054 Change-Id: Idd6d47c1e63836c8429156cd9030ef9fda4479b1
37 lines
1.4 KiB
JSON
37 lines
1.4 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "webpack -w",
|
|
"build": "NODE_ENV=production webpack",
|
|
"test:node": "mw-node-qunit 'tests/node-qunit/**/*.js' | tap-dot",
|
|
"test:dev": "grunt lint && npm run test:node",
|
|
"test": " npm run check-built-assets && npm run test:dev && npm run doc",
|
|
"doc": "jsdoc -c jsdoc.json",
|
|
"doc:start": "nodemon --watch src --exec 'npm run doc'",
|
|
"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",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"eslint-config-wikimedia": "0.4.0",
|
|
"grunt": "1.0.1",
|
|
"grunt-banana-checker": "0.5.0",
|
|
"grunt-cli": "^1.2.0",
|
|
"grunt-contrib-watch": "^1.0.0",
|
|
"grunt-eslint": "19.0.0",
|
|
"grunt-jsonlint": "1.1.0",
|
|
"grunt-stylelint": "^0.6.0",
|
|
"husky": "^0.13.3",
|
|
"istanbul": "^0.4.5",
|
|
"jsdoc": "^3.4.3",
|
|
"mock-require": "^2.0.1",
|
|
"mw-node-qunit": "^2.1.0",
|
|
"nodemon": "^1.11.0",
|
|
"redux": "3.6.0",
|
|
"redux-thunk": "2.2.0",
|
|
"stylelint-config-wikimedia": "0.4.1",
|
|
"tap-dot": "^1.0.5",
|
|
"webpack": "^2.6.0"
|
|
}
|
|
}
|