Skip to content

Node.js based forum software built for the modern web

feat: add nyc config

Barış Soner Uşaklı3326d80c11e2
diff --git a/install/package.json b/install/package.json
index aecc789bc3..9b212e7401 100644
--- a/install/package.json
+++ b/install/package.json
@@ -16,6 +16,11 @@
"test": "npx nyc --reporter=html --reporter=text-summary npx mocha",
"coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage"
},
+ "nyc": {
+ "exclude": [
+ "src/upgrades/*"
+ ]
+ },
"husky": {
"hooks": {
"pre-commit": "npx lint-staged",