Parallelize npm test
After this, tests run in ~7s locally vs. ~14s without. ¯\_(ツ)_/¯ One caveat is that coloring must be forced now. Hope this looks okay on Travis.
This commit is contained in:
parent
823ed0153f
commit
2a8feaa454
@ -18,11 +18,10 @@
|
|||||||
"build": "npm-run-all build:*",
|
"build": "npm-run-all build:*",
|
||||||
"build:webpack": "webpack",
|
"build:webpack": "webpack",
|
||||||
"watch": "webpack --watch",
|
"watch": "webpack --watch",
|
||||||
"test": "npm-run-all -c test:* lint",
|
"test": "npm-run-all --aggregate-output --parallel --continue-on-error test:* lint:*",
|
||||||
"test:mocha": "mocha",
|
"test:mocha": "mocha --colors",
|
||||||
"lint": "npm-run-all -c lint:*",
|
"lint:js": "eslint . --report-unused-disable-directives --color",
|
||||||
"lint:js": "eslint . --report-unused-disable-directives",
|
"lint:css": "stylelint --color \"client/**/*.css\""
|
||||||
"lint:css": "stylelint \"client/**/*.css\""
|
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"lounge",
|
"lounge",
|
||||||
|
Loading…
Reference in New Issue
Block a user