From c33844eddf36d442db4470595062e9a76c588a98 Mon Sep 17 00:00:00 2001 From: Sasha <118575614+weboko@users.noreply.github.com> Date: Thu, 22 Aug 2024 18:01:29 +0200 Subject: [PATCH] chore: update husky to new api (#2102) --- .husky/pre-commit | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) mode change 100755 => 100644 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100755 new mode 100644 index 36af219892..2312dc587f --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged diff --git a/package.json b/package.json index 9c61e50df1..17d9323b77 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "packages/react-native-polyfills" ], "scripts": { - "prepare": "husky install", + "prepare": "husky", "build": "npm run build --workspaces --if-present", "build:esm": "npm run build:esm --workspaces --if-present", "size": "npm run build && size-limit",