chore(yarn): forbid start if node_modules integrarity does not pass verification

This commit is contained in:
Gabriel R. Abreu 2019-02-17 15:55:43 -03:00
parent 84df504703
commit eacfe6ebaa
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
"main": "config/main.js",
"license": "MIT",
"scripts": {
"start": "concurrently \"cross-env BROWSER=none yarn dev\" \"wait-on http://0.0.0.0:8080 && yarn electron:dev\"",
"start": "yarn check --integrity && concurrently \"cross-env BROWSER=none yarn dev\" \"wait-on http://0.0.0.0:8080 && yarn electron:dev\"",
"dev": "webpack-dev-server --config config/webpack-dev.config.js --mode development --open --hot",
"build": "rm -rf build && webpack --config config/webpack-prod.config.js --mode production --env.NODE_ENV=production",
"lint:precommit": "eslint ./app/",