package-config-checker icon indicating copy to clipboard operation
package-config-checker copied to clipboard

Add CLI flag to only output dependencies without files/npmignore

Open sindresorhus opened this issue 8 years ago • 5 comments

The ones with . I can use grep, but having a flag would be nicer as I could just get a flat list.

sindresorhus avatar May 04 '16 15:05 sindresorhus

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).

insin avatar May 04 '16 15:05 insin

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:

insin avatar Jul 21 '16 04:07 insin

  • --bloated
  • --matching

sindresorhus avatar Jul 21 '16 11:07 sindresorhus

I also think that --bad-only is a bad (😜) name, but I couldn't find a better one. +1 for bloated.

matheuss avatar Jul 22 '16 05:07 matheuss

Why should we print the path?

matheuss avatar Aug 10 '16 13:08 matheuss