mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-24 07:34:11 +00:00
eff14acbba
Webpack 1.14.0 is an old version, switch to using latest stable which has better documentation, tree shaking, ES2015 modules and a core team of contributors with funding. See https://webpack.js.org/ Additional changes: * Recompile the frontend assets Change-Id: I2c5940276e99dee104d04c6a0b83d8ab36a99df5
32 lines
1.1 KiB
JSON
32 lines
1.1 KiB
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",
|
|
"coverage": "istanbul cover node_modules/.bin/mw-node-qunit tests/node-qunit/*.js tests/node-qunit/**/*.js"
|
|
},
|
|
"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",
|
|
"istanbul": "^0.4.5",
|
|
"mock-require": "^2.0.1",
|
|
"mw-node-qunit": "^1.0.6",
|
|
"redux": "3.6.0",
|
|
"redux-thunk": "2.2.0",
|
|
"stylelint-config-wikimedia": "0.3.0",
|
|
"tap-dot": "^1.0.5",
|
|
"webpack": "^2.2.1"
|
|
}
|
|
}
|