mirror of
https://github.com/glittercowboy/get-shit-done
synced 2026-04-25 17:25:23 +02:00
feat(12-01): add c8 coverage tooling with 70% line threshold
This commit is contained in:
@@ -38,13 +38,14 @@
|
||||
"engines": {
|
||||
"node": ">=16.7.0"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"c8": "^11.0.0",
|
||||
"esbuild": "^0.24.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build:hooks": "node scripts/build-hooks.js",
|
||||
"prepublishOnly": "npm run build:hooks",
|
||||
"test": "node --test tests/*.test.cjs"
|
||||
"test": "node --test tests/*.test.cjs",
|
||||
"test:coverage": "c8 --check-coverage --lines 70 --reporter text --include 'get-shit-done/bin/lib/*.cjs' --exclude 'get-shit-done/bin/gsd-tools.cjs' --exclude 'tests/**' --all node --test tests/*.test.cjs"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user