package-config-checker
package-config-checker copied to clipboard
Add CLI flag to only output dependencies without files/npmignore
The ones with ✖
. I can use grep
, but having a flag would be nicer as I could just get a flat list.
It should also print the path to the ones marked with ✖ when using this feature and probably shouldn't use left-spacing when doing do (or this should also be an option which defaults to on when using this new flag).
This has been started in PR #7
Any suggested names for this flag? The initial PR uses -b, --bad-only
, but given that we know there are lots of false positives and negatives with the checks being performed, and that some people choose to package files you don't need at runtime for their own reasons (see avajs/ava#369) I'd prefer something more neutral :smile:
-
--bloated
-
--matching
I also think that --bad-only
is a bad (😜) name, but I couldn't find a better one.
+1 for bloated
.
Why should we print the path?