Created
May 22, 2014 19:48
-
-
Save stash/678fa4b23a5d948923bd to your computer and use it in GitHub Desktop.
Istanbul-Mocha integration via `npm run coverage`
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
| { | |
| "name": "whatever", | |
| "version": "0.0.0", | |
| "main": "index.js", | |
| "scripts": { | |
| "test": "mocha tests", | |
| "coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha tests" | |
| }, | |
| "devDependencies": { | |
| "mocha": "~1.18.2", | |
| "istanbul": "~0.2.10" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment