chore(yarn): forbid start if node_modules integrarity does not pass verification
This commit is contained in:
parent
84df504703
commit
eacfe6ebaa
|
@ -5,7 +5,7 @@
|
||||||
"main": "config/main.js",
|
"main": "config/main.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"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",
|
"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",
|
"build": "rm -rf build && webpack --config config/webpack-prod.config.js --mode production --env.NODE_ENV=production",
|
||||||
"lint:precommit": "eslint ./app/",
|
"lint:precommit": "eslint ./app/",
|
||||||
|
|
Loading…
Reference in New Issue