chore: switch from nyc to c8

Uses native V8 coverage instrumentation
which is faster & better supported

Also supports ESM module if needed in the future
pull/330/head
Romain 1 year ago
parent 7b440beba8
commit f2acf07903

@ -0,0 +1,5 @@
{
"all": true,
"src": ["src"],
"reporter": ["html", "text-summary"]
}

@ -1,7 +0,0 @@
all: true
include:
- src/**
reporter:
- html
- text-summary
useSpawnWrap: true

3153
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -28,7 +28,7 @@
],
"scripts": {
"lint": "standard && require-lint",
"unit": "nyc mocha",
"unit": "c8 mocha",
"test": "npm run lint && npm run unit"
},
"dependencies": {
@ -64,6 +64,7 @@
"zen-observable": "^0.10.0"
},
"devDependencies": {
"c8": "^7.13.0",
"glob": "^9.3.0",
"gm": "^1.25.0",
"injectmd": "^1.0.0",
@ -71,7 +72,6 @@
"mocha": "^10.2.0",
"mock-fs": "^5.2.0",
"mock-spawn": "^0.2.6",
"nyc": "^15.1.0",
"require-lint": "^2.0.3",
"should": "^13.2.3",
"sinon": "^15.0.2",

Loading…
Cancel
Save