Created
May 25, 2015 00:01
-
-
Save eddieajau/072a0f4e1561b39fe179 to your computer and use it in GitHub Desktop.
NPM Package Scripts
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
{ | |
"devDependencies": { | |
"app-root-path": "^1.0.0", | |
"jshint": "^2.7.0", | |
"mocha": "^2.2.5", | |
"supertest": "^1.0.1" | |
}, | |
"scripts": { | |
"check": "npm outdated", | |
"lint": "node_modules/.bin/jshint lib/ test/", | |
"lint:checkstyle": "npm run lint -- --reporter checkstyle > checkstyle.xml", | |
"cover": "istanbul cover node_modules/.bin/_mocha -- -R spec test", | |
"test": "npm run test:unit", | |
"test:unit": "node_modules/.bin/mocha test --no-colors", | |
"test:xunit": "npm run test:unit -- --reporter xunit", | |
"patch": "npm version patch && npm publish && git push --follow-tags" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment