@yadah/depcheck
v0.2.0
Published
check package for missing or unused dependencies using custom babel configuration
Downloads
7
Readme
depcheck
A wrapper around depcheck to handle custom babel configuration (using depcheck-parser-babel)
Usage
In package.json
{
"scripts": {
"depcheck": "node --no-warnings --input-type=module --eval 'import \"@yadah/depcheck\"'"
}
}npm run depcheckJSON output can be produced by setting the environment variable DEPCHECK_JSON
DEPCHECK_JSON=1 npm run depcheck