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:
Jérémie Astori 2017-11-26 17:54:58 -05:00
parent 823ed0153f
commit 2a8feaa454
No known key found for this signature in database
GPG key ID: B9A4F245CD67BDE8

View file

@ -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",