Abort if previous task fail

This commit is contained in:
Paweł Kowalski 2020-05-16 11:34:12 +02:00
parent d7b71a0d1c
commit cd1a2fc70a

View file

@ -97,12 +97,12 @@
"format": "eslint . --fix --ignore-pattern '/app/dist/'",
"postinstall": "link-module-alias",
"preinstall": "command -v link-module-alias;link-module-alias clean || true",
"start": "npm i;npm run css;NODE_ENV=production node index.js",
"start": "npm i && npm run css && NODE_ENV=production node index.js",
"test": "run-s test:*",
"test:dependencies": "updates --update ./ --exclude prismjs",
"test:lint": "standardx --verbose | snazzy",
"test:sass": "sass-lint --config ./node_modules/@inc/sasslint-config/config.json --verbose --no-exit",
"watch": "npm run css;run-p watch:*",
"watch": "npm run css && run-p watch:*",
"watch:sass": "sass --load-path=node_modules --watch app/sass:app/dist --style compressed",
"watch:server": "NODE_ENV=development nodemon --ignore 'app/dist'"
},