mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-12-01 02:36:35 +00:00
c593ed3502
When running the CI npm job in jenkins, make sure to check that the compiled assets from the bundler are up to date with the sources. That way, CI will not verify if the assets commited are not up to date so that we don't have out-of-sync sources and built assets. Change-Id: I56bc0097f5b4fa6c9b7afa3ae14b7db4ab480a94
26 lines
821 B
JSON
26 lines
821 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "webpack -w",
|
|
"build": "webpack",
|
|
"test": "grunt lint && npm run check-built-assets",
|
|
"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' -qr test-build resources/dist && rm -rf test-build"
|
|
},
|
|
"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",
|
|
"redux": "3.6.0",
|
|
"redux-thunk": "2.2.0",
|
|
"stylelint-config-wikimedia": "0.3.0",
|
|
"webpack": "^1.14.0"
|
|
}
|
|
}
|