From 6c722ab0f12b30bb6ba5190b99de82a326f01c2a Mon Sep 17 00:00:00 2001 From: dustin-jw Date: Mon, 5 Feb 2024 08:11:20 -0700 Subject: [PATCH] chore: update husky usage for v9 --- .husky/pre-commit | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 7e154687..0100eae1 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npm run lint-staged diff --git a/package.json b/package.json index 0c6f1ebc..403e2ed1 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "test:e2e": "cypress run --e2e", "test:e2e:open": "cypress open --e2e", "test:watch": "npm run test -- --watchAll", - "prepare": "husky install", + "prepare": "husky", "lint-staged": "lint-staged" }, "dependencies": {