Skip to content

Commit

Permalink
fix: finding unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Oct 28, 2017
1 parent bc509f5 commit 670ed5f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"prelint": "npm run pretty",
"lint": "standard --verbose --fix *.js src/*.js test/*.js",
"pretest": "npm run lint",
"issues": "git-issues"
"issues": "git-issues",
"unused-deps": "dependency-check --unused --no-dev ."
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -46,8 +47,7 @@
"bluebird": "^3.5.1",
"check-more-types": "2.24.0",
"debug": "3.1.0",
"lazy-ass": "1.6.0",
"spots": "0.5.0"
"lazy-ass": "1.6.0"
},
"devDependencies": {
"dependency-check": "2.9.1",
Expand All @@ -68,6 +68,7 @@
],
"pre-push": [
"npm run deps",
"npm run unused-deps",
"npm run size"
],
"post-commit": [],
Expand Down

0 comments on commit 670ed5f

Please sign in to comment.