Skip to content

Commit

Permalink
Merge pull request #373 from ethereum/nyc
Browse files Browse the repository at this point in the history
Move from istanbul to nyc
  • Loading branch information
chriseth authored Nov 25, 2019
2 parents 121e438 + 7b2f273 commit 2480e79
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pids
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
# Coverage directory used by tools like istanbul/nyc
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
Expand Down
3 changes: 0 additions & 3 deletions .istanbul.yml

This file was deleted.

9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"prepublish": "node downloadCurrentVersion.js && node verifyVersion.js",
"pretest": "npm run lint",
"test": "tape ./test/index.js",
"coverage": "node ./node_modules/istanbul/lib/cli.js cover ./node_modules/tape/bin/tape ./test/index.js",
"coverage": "node ./node_modules/nyc/bin/nyc.js --reporter=lcov --reporter=text-summary ./node_modules/tape/bin/tape ./test/index.js",
"coveralls": "npm run coverage && node ./node_modules/coveralls/bin/coveralls.js <coverage/lcov.info"
},
"repository": {
Expand Down Expand Up @@ -52,7 +52,7 @@
},
"devDependencies": {
"coveralls": "^3.0.0",
"istanbul": "^0.4.5",
"nyc": "^14.1.0",
"semistandard": "^12.0.0",
"tape": "^4.11.0",
"tape-spawn": "^1.4.2"
Expand All @@ -61,5 +61,10 @@
"ignore": [
"soljson.js"
]
},
"nyc": {
"exclude": [
"soljson.js"
]
}
}

0 comments on commit 2480e79

Please sign in to comment.