Depcheck util that plays nice with ci
.depcheckrc
or package.json
sectionnpm i --save-dev --save-exact depcheck-ci
Add npm script in package.json
:
scripts: {
"depcheck": "depcheck-ci"
}
npm run depcheck
Either add a .depcheckrc
file on root of project or a depcheck
section in package.json
Default settings are:
{
"ignore": [],
"ignoreDirs": [
"node_modules",
"bower_components"
],
"strict": true,
"unused": true
}