Ensures reproducible builds with npm ci
This commit is contained in:
parent
665708dbb9
commit
9c3ddbfef2
@ -17,7 +17,7 @@
|
|||||||
"test:unit": "mocha --opts test/mocha.opts ./test/unit/",
|
"test:unit": "mocha --opts test/mocha.opts ./test/unit/",
|
||||||
"test:integration": "mocha --exit --opts test/mocha.opts ./test/integration",
|
"test:integration": "mocha --exit --opts test/mocha.opts ./test/integration",
|
||||||
"release": "npm run release:install && npm run release:archive",
|
"release": "npm run release:install && npm run release:archive",
|
||||||
"release:install": "rm -rf node_modules/ && npm install --production",
|
"release:install": "rm -rf node_modules/ && npm ci --production",
|
||||||
"release:archive": "zip -rq release.zip package.json package-lock.json node_modules/ *.js src/ config/ locales/"
|
"release:archive": "zip -rq release.zip package.json package-lock.json node_modules/ *.js src/ config/ locales/"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Loading…
Reference in New Issue
Block a user