Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Commit

Permalink
add coverage reporting using nyc
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Coe committed May 25, 2015
1 parent 49a74b4 commit 2e45d22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules
.DS_Store
.nyc_output
coverage
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@
"uuid": "./bin/uuid"
},
"scripts": {
"test": "node test/test.js"
"test": "node test/test.js",
"coverage": "nyc npm test && nyc report"
},
"lib" : ".",
"main" : "./uuid.js",
"repository" : { "type" : "git", "url" : "https://github.com/broofa/node-uuid.git" },
"version" : "1.4.2",
"license" : "MIT"
"license" : "MIT",
"devDependencies": { "nyc": "^2.2.0" }

}

0 comments on commit 2e45d22

Please sign in to comment.