Skip to content

Commit f63ce7f

Browse files
committed
build: Fix shrinkwrap-extractor coverage script
Aligning with benchmark package.json.
1 parent d2f874b commit f63ce7f

2 files changed

Lines changed: 4 additions & 26 deletions

File tree

internal/shrinkwrap-extractor/package.json

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
"test": "npm run lint && npm run coverage && npm run depcheck",
2323
"unit": "node --test test/lib/convertToShrinkwrap.js",
2424
"unit-watch": "node --test --watch test/lib/convertToShrinkwrap.js",
25-
"coverage": "nyc node --test test/lib/convertToShrinkwrap.js",
25+
"coverage": "node --test --experimental-test-coverage 'test/lib/convertToShrinkwrap.js'",
2626
"lint": "eslint .",
27-
"depcheck": "depcheck --ignores @ui5/shrinkwrap-extractor,@eslint/js,eslint-config-google,globals,nyc"
27+
"depcheck": "depcheck"
2828
},
2929
"keywords": [
3030
"npm",
@@ -40,26 +40,7 @@
4040
"pacote": "^21.0.4"
4141
},
4242
"devDependencies": {
43-
"@eslint/js": "^9.39.1",
4443
"depcheck": "^1.4.7",
45-
"eslint-config-google": "^0.14.0",
46-
"globals": "^16.5.0",
47-
"nyc": "^17.1.0"
48-
},
49-
"nyc": {
50-
"reporter": [
51-
"lcov",
52-
"text",
53-
"text-summary"
54-
],
55-
"exclude": [
56-
"coverage/**",
57-
"test/**"
58-
],
59-
"check-coverage": true,
60-
"statements": 80,
61-
"branches": 75,
62-
"functions": 75,
63-
"lines": 80
44+
"eslint": "^9.39.1"
6445
}
6546
}

package-lock.json

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)