Ensures reproducible builds with npm ci

This commit is contained in:
Thomas Oberndörfer 2019-08-09 15:12:27 +02:00
parent 665708dbb9
commit 9c3ddbfef2
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
"test:unit": "mocha --opts test/mocha.opts ./test/unit/",
"test:integration": "mocha --exit --opts test/mocha.opts ./test/integration",
"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/"
},
"dependencies": {