jeemok / better-npm-audit

The goal of this project is to provide additional features on top of the existing npm audit options
https://www.npmjs.com/package/better-npm-audit
MIT License
118 stars 26 forks source link

Add option to skip over optional dependencies #94

Open helblinglilly opened 1 year ago

helblinglilly commented 1 year ago

By adding the --production flag, the audit will ignore any dev dependencies already. I have some dependencies that are marked as optional (like Cypress) that for ~ reasons ~ can't live in the dev dependencies.

Is there already, or would it be possible to add an option to not only ignore the dev dependencies, but also the optional ones?