0.2.0 • Published 1 year ago
@yadah/depcheck v0.2.0
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 depcheck
JSON output can be produced by setting the environment variable DEPCHECK_JSON
DEPCHECK_JSON=1 npm run depcheck