Skip to content

Commit 1133090

Browse files
committed
chore: check dependencies via dependency-check
1 parent 80cd7cc commit 1133090

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@
1414
"build": "babel source --out-dir distribution",
1515
"watch": "npm run build -- --watch",
1616
"commit": "git-cz",
17-
"commitmsg": "node distribution/cli.js --edit",
17+
"commitmsg": "npm run build && node distribution/cli.js --edit",
1818
"changelog": "conventional-changelog --preset angular --infile changelog.md --same-file --output-unreleased",
1919
"push": "git push && git push --tags && hub release create \"v$npm_package_version\" --message=\"v$npm_package_version\n$(conventional-changelog -p angular)\" && npm publish",
20-
"pretest": "npm run lint",
20+
"prepretest": "npm run lint",
21+
"pretest": "npm run deps",
2122
"test": "ava",
2223
"lint": "xo *.js",
24+
"deps": "npm run build && dependency-check . --missing && dependency-check . --extra --no-dev -i conventional-changelog-angular -i conventional-changelog-lint-config-angular",
2325
"commitlint": "node distribution/cli.js --from=HEAD~1",
2426
"preversion": "npm run build && npm test",
2527
"release": "npm version --no-git-tag-version $(conventional-recommended-bump -p angular)",
@@ -96,6 +98,8 @@
9698
"conventional-changelog-cli": "1.2.0",
9799
"conventional-recommended-bump": "0.3.0",
98100
"cz-conventional-changelog-lint": "0.1.3",
101+
"denodeify": "1.2.1",
102+
"dependency-check": "2.7.0",
99103
"execa": "0.6.0",
100104
"path-exists": "3.0.0",
101105
"rimraf": "2.6.1",
@@ -109,12 +113,10 @@
109113
"conventional-changelog-angular": "1.3.0",
110114
"conventional-changelog-lint-config-angular": "0.4.0",
111115
"conventional-commits-parser": "1.3.0",
112-
"denodeify": "1.2.1",
113116
"franc": "2.0.0",
114117
"get-stdin": "5.0.1",
115118
"git-raw-commits": "1.1.2",
116119
"git-toplevel": "1.1.1",
117-
"globby": "6.1.0",
118120
"lodash": "4.17.4",
119121
"meow": "3.7.0",
120122
"mz": "2.6.0",

0 commit comments

Comments
 (0)