pkgjs / support

Package Support Format
MIT License
24 stars 7 forks source link

Add option to show that excludes dev dependencies #28

Open mhdawson opened 3 years ago

mhdawson commented 3 years ago

The next useful extension for the show command would be an option to exclude dev only dependencies.

ljharb commented 3 years ago

Probably it’d make the most sense to default to production only? If not, then I’d expect npm flags like production, dev, only=production, etc

mhdawson commented 3 years ago

@ljharb I was thinking hat dev only by default could make sense as well just had not settled on that 100%.

ljharb commented 3 years ago

i guess it depends on what the common case is. I assume people will always want to know the support levels of their prod deps, but may not always care about that for their dev deps.