You can also use the npm-run-all package:
npm install npm-run-all --save-dev
"scripts": { "test": "npm-run-all test-mocha test-mocha-phantomjs", "test-mocha": "mocha ./test/node/index.js --reporter spec", "test-mocha-phantomjs": "mocha-phantomjs ./test/browser/index.html" }
It will run local copies of mocha and mocha-phantomjs . Twitter bootstrap uses this library for development.
Dmitry Yaremenko Aug 08 '17 at 13:40 2017-08-08 13:40
source share