From a411aafea7bcbdf510e9c41eed1c62127931c850 Mon Sep 17 00:00:00 2001 From: Frederik Prijck Date: Thu, 20 Jun 2024 09:55:41 +0200 Subject: [PATCH] Use Husky v9 recommendations (#354) --- .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 d24fdfc..2312dc5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx lint-staged diff --git a/package.json b/package.json index 9bfcf7e..3909a49 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "test:node": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --coverage", "test:browser": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --coverage --testEnvironment=jsdom", "prepack": "npm run build", - "prepare": "husky install" + "prepare": "husky" }, "author": "Jose F. Romaniello ", "contributors": [