From 1917b040ebb7286b1c47de3f6dd7918ae36b838d Mon Sep 17 00:00:00 2001 From: Riccardo Date: Thu, 12 Sep 2024 12:40:38 +0200 Subject: [PATCH] chore: add audit script --- .husky/pre-commit | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 4800cb9..1787b50 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,7 +1,7 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -yarn audit-ci +yarn audit yarn format yarn lint-staged yarn typecheck diff --git a/package.json b/package.json index eb7e7fa..c64979e 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "typecheck": "tsc --noEmit", "prepare": "husky install", "analyze": "BUNDLE_ANALYZE=true next build", + "audit": "audit-ci", "vercel:link": "vercel link", "vercel:env": "vercel env pull .env", "prisma:migrate": "npx prisma migrate dev",