Last active
December 13, 2016 14:28
-
-
Save kimniche/83738552f865187a05dd50246c4b68df to your computer and use it in GitHub Desktop.
Scripts section of package.json should match this in order to work with git hooks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"start": "node index", | |
"dev": "node_modules/.bin/webpack", | |
"build": "node_modules/.bin/webpack -p", | |
"test:base": "mocha --recursive --compilers js:babel/register --no-timeouts", | |
"test:base-watch": "mocha -w --recursive --compilers js:babel/register --no-timeouts", | |
"test:base-silent": "npm run test:base 1>&- 2>&-", | |
"test:nowatch": "export NODE_ENV=test&& npm run test:base-silent", | |
"test:nowatch-win": "set NODE_ENV=test&& npm run test:base-silent", | |
"test": "export NODE_ENV=test&& npm run test:base-watch", | |
"test-win": "set NODE_ENV=test&& npm run test:base-watch", | |
"test:actions": "export NODE_ENV=test&& npm run test:base-watch test/actions", | |
"test:components": "export NODE_ENV=test&& npm run test:base-watch test/components", | |
"test:components:profiles": "export NODE_ENV=test&& npm run test:base-watch test/components/profiles", | |
"test:constants": "export NODE_ENV=test&& npm run test:base-watch test/common/constants", | |
"test:utils": "export NODE_ENV=test&& npm run test:base-watch test/utils test/common/utils", | |
"test:stores": "export NODE_ENV=test&& npm run test:base-watch test/stores", | |
"test:services": "export NODE_ENV=test&& npm run test:base-watch test/services", | |
"test:api": "export NODE_ENV=test&& npm run test:base-watch test/api", | |
"test:validation": "export NODE_ENV=test&& npm run test:base-watch test/validation", | |
"test:routes": "export NODE_ENV=test&& npm run test:base-watch test/routes", | |
"test:debug": "export NODE_ENV=test&& mocha debug --compilers js:babel/register --no-timeouts", | |
"coverage:base": "istanbul cover ./node_modules/mocha/bin/_mocha -- --recursive --no-timeouts --compilers js:babel/register", | |
"coverage": "export NODE_ENV=test&& npm run coverage:base", | |
"coverage-win": "set NODE_ENV=test&& npm run coverage:base" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note this will be part of
package.json
with thefeature/lint
branch so manual adding won't always be needed