1.0.16 • Published 4 months ago
@werk/command-depcheck v1.0.16
Werk Depcheck Command
Check for unused production dependencies.
This is a very simple check that just looks for anything that looks like an import or require statement matching each production dependency. It doesn't use a real parser, but it's fast and good enough for most cases.
This does not detect missing dependencies. ESLint is better at detecting those.
Install
npm i -D @werk/command-depcheck
Check Dependencies
werk depcheck
Remove Unused Dependencies
werk depcheck --fix