Skip to content

Commit

Permalink
chore: Update Istanbul to NYC
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Sep 28, 2020
1 parent d63b5bf commit 38b9633
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 90 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/coverage.yml
Expand Up @@ -3,13 +3,15 @@ name: Coverage
on:
push:
paths:
- ".nycrc.json"
- "**/*.js"
- "test/**"
- "package.json"
- "bin/node-sass"
- ".github/workflows/coverage.yml"
pull_request:
paths:
- ".nycrc.json"
- "**/*.js"
- "test/**"
- "package.json"
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -11,4 +11,5 @@ test/lcov.info
test/fixtures/watching-css-out-01
test/fixtures/watching-css-out-02
coverage
package-lock.json
package-lock.json
.nyc_output
14 changes: 14 additions & 0 deletions .nycrc.json
@@ -0,0 +1,14 @@
{
"all": true,
"include": [
"bin/*",
"lib/*.js",
"scripts/**/*.js"
],
"extension": [
"node-sass"
],
"reporter": [
"lcovonly"
]
}
8 changes: 3 additions & 5 deletions package.json
Expand Up @@ -27,11 +27,11 @@
},
"gypfile": true,
"scripts": {
"coverage": "node scripts/coverage.js",
"coverage": "nyc npm run test",
"install": "node scripts/install.js",
"postinstall": "node scripts/build.js",
"lint": "eslint bin/node-sass lib scripts test",
"test": "node_modules/.bin/mocha test/{*,**/**}.js",
"test": "mocha test/{*,**/**}.js",
"build": "node scripts/build.js --force",
"prepublish": "not-in-install && node scripts/prepublish.js || in-install"
},
Expand Down Expand Up @@ -72,12 +72,10 @@
"true-case-path": "^1.0.2"
},
"devDependencies": {
"coveralls": "^3.0.2",
"eslint": "^7.10.0",
"fs-extra": "^0.30.0",
"istanbul": "^0.4.2",
"mocha": "^8.1.3",
"mocha-lcov-reporter": "^1.2.0",
"nyc": "^15.1.0",
"rimraf": "^2.5.2",
"unique-temp-dir": "^1.0.0"
}
Expand Down
84 changes: 0 additions & 84 deletions scripts/coverage.js

This file was deleted.

0 comments on commit 38b9633

Please sign in to comment.