mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-24 07:34:11 +00:00
facf307918
So that it is easier to diagnose what the differences are between the commited built files and the ones compiled for the check. Change-Id: Id5394bda910c8218123a87d4604351fe5ae95d1e
30 lines
1,018 B
JSON
30 lines
1,018 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "webpack -w",
|
|
"build": "webpack",
|
|
"test": "grunt lint && npm run check-built-assets && npm run test:node",
|
|
"doc": "jsduck",
|
|
"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",
|
|
"test:node": "mw-node-qunit tests/node-qunit/*.js tests/node-qunit/**/*.js | tap-dot"
|
|
},
|
|
"devDependencies": {
|
|
"eslint-config-wikimedia": "0.3.0",
|
|
"grunt": "1.0.1",
|
|
"grunt-banana-checker": "0.5.0",
|
|
"grunt-cli": "^1.2.0",
|
|
"grunt-contrib-qunit": "^1.2.0",
|
|
"grunt-contrib-watch": "^1.0.0",
|
|
"grunt-eslint": "19.0.0",
|
|
"grunt-jsonlint": "1.1.0",
|
|
"grunt-stylelint": "^0.6.0",
|
|
"mw-node-qunit": "^1.0.6",
|
|
"mock-require": "^2.0.1",
|
|
"redux": "3.6.0",
|
|
"redux-thunk": "2.2.0",
|
|
"stylelint-config-wikimedia": "0.3.0",
|
|
"tap-dot": "^1.0.5",
|
|
"webpack": "^1.14.0"
|
|
}
|
|
}
|