Skip to content

Commit

Permalink
Closes #2: adds npm audit to release-it before:init script
Browse files Browse the repository at this point in the history
  • Loading branch information
webketje committed Aug 22, 2023
1 parent e18e1be commit d652b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"hooks": {
"before:init": ["npm run lint", "npm test", "npm pack"],
"before:init": ["npm run lint", "npm audit --omit=dev", "npm test"],
"after:bump": "auto-changelog -p --commit-limit false --ignore-commit-pattern '^((dev|chore|ci):|Release)'",
"after:npm:bump": "npm pack",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
Expand Down

0 comments on commit d652b5f

Please sign in to comment.