We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea83bf5 commit 992e2e0Copy full SHA for 992e2e0
.nycrc.json
@@ -1,5 +1,4 @@
1
{
2
"extends": "@istanbuljs/nyc-config-typescript",
3
- "include": ["src/**/*.ts"],
4
- "reporter": ["lcovonly", "text-summary"]
+ "reporter": ["lcovonly", "text-summary", "html"]
5
}
package.json
@@ -81,7 +81,8 @@
81
"build": "npm run build:dts && npm run build:bundle",
82
"lint": "eslint -v && eslint --ext '.js,.ts' --max-warnings=0 src test && tsc -v && tsc --noEmit",
83
"format": "eslint --ext '.js,.ts' src test --fix",
84
- "coverage": "nyc mocha test/node",
+ "coverage": "nyc npm run test-node",
85
+ "coverage:html": "npm run coverage && open ./coverage/index.html",
86
"prepare": "node etc/prepare.js",
87
"release": "standard-version -i HISTORY.md"
88
},
0 commit comments