From 35304a0e284e6a00b1301468d24d73d180d6c9d9 Mon Sep 17 00:00:00 2001 From: Dmitry Kisler Date: Mon, 16 Oct 2023 17:09:22 +0200 Subject: [PATCH] chore: add audit step to precommit hooks Signed-off-by: Dmitry Kisler --- .husky/pre-commit | 1 + 1 file changed, 1 insertion(+) diff --git a/.husky/pre-commit b/.husky/pre-commit index d201085..0465fb3 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -3,4 +3,5 @@ npm run lint || (npm install && npm run lint) npm run test +npm audit --audit-level=high npm run build && git add dist/