Skip to content

Commit

Permalink
coverage: adds nyc, coveralls
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
  • Loading branch information
rwaldron committed Apr 28, 2017
1 parent 2cf0312 commit 7722352
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ wip/
*.log
*.node
captures/*.jpg
.nyc_output/
coverage/
8 changes: 8 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"reporter": [
"lcov"
],
"include": [
"lib/**/!(install)*.js"
]
}
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"repository": "https://github.com/tessel/tessel-av",
"main": "lib/index.js",
"scripts": {
"test": "grunt"
"test": "grunt",
"test-cover": "nyc grunt nodeunit",
"coveralls": "nyc --reporter=lcov grunt nodeunit && cat ./coverage/lcov.info | coveralls"
},
"author": "Rick Waldron <waldron.rick@gmail.com>",
"contributors": [
Expand All @@ -21,15 +23,17 @@
"license": "MIT",
"devDependencies": {
"common-tags": "^1.3.1",
"coveralls": "^2.13.1",
"grunt": "^1.0.1",
"grunt-cli": "^1.2.0",
"grunt-contrib-jshint": "^1.0.0",
"grunt-contrib-jshint": "^1.1.0",
"grunt-contrib-nodeunit": "^1.0.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-jsbeautifier": "^0.2.13",
"grunt-jscs": "^3.0.1",
"mkdirp": "^0.5.1",
"sinon": "^1.14.1"
"nyc": "^10.2.0",
"sinon": "^2.1.0"
},
"dependencies": {
"got": "^6.3.0",
Expand Down

0 comments on commit 7722352

Please # to comment.