mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: add nyc config
This commit is contained in:
@@ -16,6 +16,11 @@
|
|||||||
"test": "npx nyc --reporter=html --reporter=text-summary npx mocha",
|
"test": "npx nyc --reporter=html --reporter=text-summary npx mocha",
|
||||||
"coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage"
|
"coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage"
|
||||||
},
|
},
|
||||||
|
"nyc": {
|
||||||
|
"exclude": [
|
||||||
|
"src/upgrades/*"
|
||||||
|
]
|
||||||
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"pre-commit": "npx lint-staged",
|
"pre-commit": "npx lint-staged",
|
||||||
|
|||||||
Reference in New Issue
Block a user