Skip to content

Commit d1a39a6

Browse files
committed
chore: Update Istanbul to NYC
1 parent a7c7c2e commit d1a39a6

File tree

3 files changed

+5
-89
lines changed

3 files changed

+5
-89
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ test/lcov.info
1111
test/fixtures/watching-css-out-01
1212
test/fixtures/watching-css-out-02
1313
coverage
14-
package-lock.json
14+
package-lock.json
15+
.nyc_output

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
},
2828
"gypfile": true,
2929
"scripts": {
30-
"coverage": "node scripts/coverage.js",
30+
"coverage": "nyc report --reporter=text-lcov | coveralls",
3131
"install": "node scripts/install.js",
3232
"postinstall": "node scripts/build.js",
3333
"lint": "node_modules/.bin/eslint bin/node-sass lib scripts test",
34-
"test": "node_modules/.bin/mocha test/{*,**/**}.js",
34+
"test": "nyc mocha test/{*,**/**}.js",
3535
"build": "node scripts/build.js --force",
3636
"prepublish": "not-in-install && node scripts/prepublish.js || in-install"
3737
},
@@ -77,6 +77,7 @@
7777
"mocha": "^6.2.2",
7878
"mocha-lcov-reporter": "^1.2.0",
7979
"node-gyp": "^6.0.1",
80+
"nyc": "^14.1.1",
8081
"object-merge": "^2.5.1",
8182
"read-yaml": "^1.0.0",
8283
"rimraf": "^2.5.2",

scripts/coverage.js

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)