Skip to content

Commit

Permalink
Coverage: migrate istanbul to nyc
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 6, 2017
1 parent c840d99 commit 931397f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 16 deletions.
13 changes: 0 additions & 13 deletions .istanbul.yml

This file was deleted.

1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ colors.js
.jscsrc
.gitignore
.istanbul.yml
.nycrc
.nyc_output
appveyor.yml
LICENSE-MIT
18 changes: 18 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"reporter": [
"lcov"
],
"include": [
"lib/**/*.js"
],
"exclude": [
"Gruntfile.js",
"lib/gripper.js",
"lib/distance.js",
"lib/ir.js",
"lib/ping.js",
"lib/pir.js",
"lib/sonar.js"
]
}

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,17 +284,17 @@
"grunt-contrib-watch": "~0.6.1",
"grunt-jsbeautifier": "~0.2.10",
"grunt-jscs": "~2.3.0",
"istanbul": "^0.4.4",
"keypress": "latest",
"mock-firmata": "latest",
"nyc": "^10.2.0",
"optimist": "~0.6.1",
"shelljs": "^0.3.0",
"sinon": "~1.10.2"
},
"scripts": {
"test": "grunt",
"test-cover": "grunt jshint && istanbul cover node_modules/grunt-cli/bin/grunt nodeunit",
"coveralls": "cat ./coverage/lcov.info | coveralls"
"test-cover": "nyc grunt nodeunit",
"coveralls": "nyc --reporter=lcov grunt nodeunit && cat ./coverage/lcov.info | coveralls"
},
"browser": {
"galileo-io": false
Expand Down

0 comments on commit 931397f

Please sign in to comment.