Skip to content

Commit

Permalink
build(deps-dev): add depcheck
Browse files Browse the repository at this point in the history
- add depcheck for automated dependency checking
  • Loading branch information
johannrichard committed Dec 5, 2020
1 parent 03f3073 commit de9ae44
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion package.json
Expand Up @@ -22,8 +22,9 @@
"lint": "eslint src/**.ts",
"watch": "yarn run build && yarn link && nodemon",
"build": "rimraf ./dist && tsc",
"depcheck": "npx depcheck",
"prepublishOnly": "yarn run lint && yarn run build",
"prepare": "yarn run lint && yarn run build",
"prepare": "yarn run lint && yarn run build && yarn run depcheck",
"changelog": "changelog",
"release:candidate": "yarn version --prerelease --preid rc --no-git-tag-version && yarn publish --tag next",
"release:nightly": "yarn version --prerelease --preid nightly --no-git-tag-version && yarn publish --tag nightly",
Expand Down Expand Up @@ -89,5 +90,11 @@
"prettier --write",
"git add"
]
},
"depcheck": {
"ignores": [
"@commitlint/*",
"eslint*"
]
}
}

0 comments on commit de9ae44

Please sign in to comment.