I'm trying to check a Node project for missing or unnecessary dependencies, so I've tried depcheck
and npm-check
, but they both fail in the same way, claiming all five dependencies are unnecessary when in fact they are all used, and as far as I can see, they are used in the normal way; package.json
bin
points to ayane.js
which contains require
directives for the dependencies. I tried specifying --ignore-bin-package=false
to depcheck
, but that made no difference. The project https://github.com/russellw/ayane is pretty small and simple, and doesn't do anything weird.
What am I missing? Both the programs in question are quite widely used; are there known problems with them?