Skip to content

Commit 876fa4c

Browse files
committed
use c8
1 parent d509d1c commit 876fa4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"build": "pnpm run build:meta && pnpm run build:tsc",
3131
"build:meta": "pnpm run ts ./tools/update-meta.ts",
3232
"build:tsc": "tsc --project ./tsconfig.build.json",
33-
"clean": "rimraf .nyc_output lib coverage",
34-
"cover": "nyc --reporter=lcov pnpm run test",
33+
"clean": "rimraf lib coverage",
34+
"cover": "c8 --reporter=lcov pnpm run test",
3535
"debug": "pnpm run mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
3636
"eslint-fix": "pnpm run lint --fix",
3737
"lint": "eslint .",
@@ -79,6 +79,7 @@
7979
"@typescript-eslint/parser": "~8.16.0",
8080
"@typescript-eslint/types": "~8.16.0",
8181
"benchmark": "^2.1.4",
82+
"c8": "^10.1.2",
8283
"chai": "^4.5.0",
8384
"env-cmd": "^10.1.0",
8485
"esbuild": "^0.24.0",
@@ -99,7 +100,6 @@
99100
"magic-string": "^0.30.14",
100101
"mocha": "^10.8.2",
101102
"mocha-chai-jest-snapshot": "^1.1.6",
102-
"nyc": "^17.1.0",
103103
"prettier": "~3.4.1",
104104
"prettier-plugin-pkg": "^0.18.1",
105105
"prettier-plugin-svelte": "^3.3.2",

0 commit comments

Comments
 (0)