Run tests with npm-run-all (#6688)

This commit is contained in:
Yamagishi Kazutoshi
2018-03-08 12:43:57 +09:00
committed by Eugen Rochko
parent 9aba44ea79
commit 83c982b458
2 changed files with 130 additions and 4 deletions

View File

@ -10,7 +10,7 @@
"build:production": "cross-env RAILS_ENV=production ./bin/webpack",
"manage:translations": "node ./config/webpack/translationRunner.js",
"start": "node ./streaming/index.js",
"test": "yarn run test:lint && yarn run test:jest",
"test": "npm-run-all test:lint test:jest",
"test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ streaming/",
"test:jest": "cross-env NODE_ENV=test jest --coverage"
},
@ -67,6 +67,7 @@
"marky": "^1.2.0",
"mkdirp": "^0.5.1",
"node-sass": "^4.7.2",
"npm-run-all": "^4.1.2",
"npmlog": "^4.1.2",
"object-assign": "^4.1.1",
"object-fit-images": "^3.2.3",