Created
January 9, 2018 18:09
-
-
Save daffl/8d34acc881040a800120d69c55c26c11 to your computer and use it in GitHub Desktop.
Code coverage package.json
This file contains 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": { | |
"test": "npm run eslint && npm run coverage", | |
"coverage": "npm run clean && NODE_ENV=test istanbul cover node_modules/mocha/bin/_mocha -- test/ --recursive --exit", | |
"eslint": "eslint src/. test/. --config .eslintrc.json --fix", | |
"start": "node src/", | |
"clean": "shx rm -rf test/data/", | |
"mocha": "npm run clean && NODE_ENV=test mocha test/ --recursive --exit" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment