Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Commit 875aed6

Browse files
committed
Switched from deprecated istanbul coverage package to nyc v11.8.0
1 parent 4c57129 commit 875aed6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ lib-cov
4444

4545
# Coverage directory used by tools like istanbul
4646
coverage
47+
.nyc_output
4748

4849
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
4950
.grunt

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "A module to store and interact with blocks",
55
"main": "index.js",
66
"scripts": {
7-
"coverage": "istanbul cover ./test/index.js",
8-
"coveralls": "npm run coverage && coveralls <coverage/lcov.info",
7+
"coverage": "nyc npm run test && nyc report --reporter=text-lcov > .nyc_output/lcov.info",
8+
"coveralls": "npm run coverage && coveralls <.nyc_output/lcov.info",
99
"lint": "standard",
1010
"test": "tape ./test/index.js"
1111
},
@@ -37,7 +37,7 @@
3737
},
3838
"devDependencies": {
3939
"coveralls": "^3.0.0",
40-
"istanbul": "^0.4.2",
40+
"nyc": "^11.8.0",
4141
"standard": "^11.0.1",
4242
"tape": "^4.2.1"
4343
}

0 commit comments

Comments
 (0)