Automated npm auditing
auditmated binary will run
npm audit fix in the current repo. If
package-lock.json have been updated
auditmated will commit those changes
with a commit message of
<branch-name> npm audit fix. This will fix any problems identified by
npm audit that can be fixed by patch or minor version bumps.
auditmated only supports bash.
Example with Husky
This will run auditing as a pre-push hook using husky:
If you are using Husky v0, define as a
auditmated will not run for
develop branches. If you are using
husky, you can use the
--no-verify command line option to skip running auditing on any other branch.