Skip to content

Commit 507c9a0

Browse files
matz3RandomByte
authored andcommitted
[INTERNAL] CI: Add depcheck
1 parent fecf150 commit 507c9a0

File tree

2 files changed

+266
-3
lines changed

2 files changed

+266
-3
lines changed

package-lock.json

Lines changed: 261 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"npm": ">= 5"
2323
},
2424
"scripts": {
25-
"test": "npm run lint && npm run jsdoc-generate && npm run coverage",
26-
"test-azure": "npm run lint && npm run jsdoc-generate && npm run coverage-xunit",
25+
"test": "npm run lint && npm run jsdoc-generate && npm run coverage && npm run depcheck",
26+
"test-azure": "npm run lint && npm run jsdoc-generate && npm run coverage-xunit && npm run depcheck",
2727
"lint": "eslint ./",
2828
"unit": "rimraf test/tmp && ava",
2929
"unit-verbose": "rimraf test/tmp && cross-env UI5_LOG_LVL=verbose ava --verbose --serial",
@@ -39,7 +39,8 @@
3939
"preversion": "npm test",
4040
"version": "git-chglog --next-tag v$npm_package_version -o CHANGELOG.md && git add CHANGELOG.md",
4141
"postversion": "git push --follow-tags",
42-
"release-note": "git-chglog -c .chglog/release-config.yml v$npm_package_version"
42+
"release-note": "git-chglog -c .chglog/release-config.yml v$npm_package_version",
43+
"depcheck": "depcheck --ignores docdash"
4344
},
4445
"files": [
4546
"index.js",
@@ -133,6 +134,7 @@
133134
"chokidar-cli": "^2.1.0",
134135
"coveralls": "^3.1.0",
135136
"cross-env": "^7.0.2",
137+
"depcheck": "^1.2.0",
136138
"docdash": "^1.2.0",
137139
"eslint": "^7.13.0",
138140
"eslint-config-google": "^0.14.0",

0 commit comments

Comments
 (0)