This repository was archived by the owner on Jul 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +21
-90
lines changed
Expand file tree Collapse file tree 5 files changed +21
-90
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,15 @@ name: Coverage
33on :
44 push :
55 paths :
6+ - " .nycrc.json"
67 - " **/*.js"
78 - " test/**"
89 - " package.json"
910 - " bin/node-sass"
1011 - " .github/workflows/coverage.yml"
1112 pull_request :
1213 paths :
14+ - " .nycrc.json"
1315 - " **/*.js"
1416 - " test/**"
1517 - " package.json"
Original file line number Diff line number Diff line change @@ -11,4 +11,5 @@ test/lcov.info
1111test /fixtures /watching-css-out-01
1212test /fixtures /watching-css-out-02
1313coverage
14- package-lock.json
14+ package-lock.json
15+ .nyc_output
Original file line number Diff line number Diff line change 1+ {
2+ "all" : true ,
3+ "include" : [
4+ " bin/*" ,
5+ " lib/*.js" ,
6+ " scripts/**/*.js"
7+ ],
8+ "extension" : [
9+ " node-sass"
10+ ],
11+ "reporter" : [
12+ " lcovonly"
13+ ]
14+ }
Original file line number Diff line number Diff line change 2727 },
2828 "gypfile" : true ,
2929 "scripts" : {
30- "coverage" : " node scripts/coverage.js " ,
30+ "coverage" : " nyc npm run test " ,
3131 "install" : " node scripts/install.js" ,
3232 "postinstall" : " node scripts/build.js" ,
3333 "lint" : " eslint bin/node-sass lib scripts test" ,
34- "test" : " node_modules/.bin/ mocha test/{*,**/**}.js" ,
34+ "test" : " mocha test/{*,**/**}.js" ,
3535 "build" : " node scripts/build.js --force" ,
3636 "prepublish" : " not-in-install && node scripts/prepublish.js || in-install"
3737 },
7272 "true-case-path" : " ^1.0.2"
7373 },
7474 "devDependencies" : {
75- "coveralls" : " ^3.0.2" ,
7675 "eslint" : " ^7.10.0" ,
7776 "fs-extra" : " ^0.30.0" ,
78- "istanbul" : " ^0.4.2" ,
7977 "mocha" : " ^8.1.3" ,
80- "mocha-lcov-reporter " : " ^1.2 .0" ,
78+ "nyc " : " ^15.1 .0" ,
8179 "rimraf" : " ^2.5.2" ,
8280 "unique-temp-dir" : " ^1.0.0"
8381 }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments