mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-09-24 10:49:14 +00:00
Run doc generation on npm test
The benefit of this is if there are any problems with the documentation they will not enter our codebase. We do a similar thing in MobileFrontend Bug: T158236 Change-Id: I30329dd868fe596c490f95354c3226c9cd4a2fc7
This commit is contained in:
parent
30e616a224
commit
e21a640002
|
@ -5,7 +5,7 @@
|
|||
"build": "NODE_ENV=production webpack",
|
||||
"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",
|
||||
"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",
|
||||
|
|
BIN
resources/dist/index.js.map
vendored
BIN
resources/dist/index.js.map
vendored
Binary file not shown.
Loading…
Reference in a new issue