Skip to content

Commit 3419693

Browse files
Revert "feat: drop coverage support"
This reverts commit dc495ce.
1 parent a42df33 commit 3419693

File tree

2 files changed

+364
-13
lines changed

2 files changed

+364
-13
lines changed

package.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"prebuild": "del-cli --force lib",
1414
"build": "tsc -p .",
1515
"prepare": "husky install && yarn run build",
16-
"test": "cross-env NODE_ENV=test yarn run build && ava"
16+
"test": "cross-env NODE_ENV=test yarn run build && ava",
17+
"coverage": "nyc --reporter=lcov yarn test"
1718
},
1819
"repository": {
1920
"type": "git",
@@ -77,6 +78,7 @@
7778
"lint-staged": "^14.0.0",
7879
"mkdirp": "^3.0.1",
7980
"nock": "^13.3.1",
81+
"nyc": "^15.1.0",
8082
"prettier": "^3.0.0",
8183
"redis": "^4.6.7",
8284
"sinon": "^18.0.0",
@@ -94,6 +96,18 @@
9496
"semver": "^7.5.3",
9597
"glob": "^10.5.0"
9698
},
99+
"nyc": {
100+
"lines": 95,
101+
"statements": 95,
102+
"functions": 95,
103+
"branches": 80,
104+
"include": [
105+
"lib/**.js",
106+
"lib/**/*.js"
107+
],
108+
"all": true,
109+
"exclude-after-remap": false
110+
},
97111
"prettier": {
98112
"printWidth": 100,
99113
"proseWrap": "always",

0 commit comments

Comments
 (0)