From 93da05a80acfd9b4105ae908b76e1d9722979e9b Mon Sep 17 00:00:00 2001 From: suiyun39 Date: Wed, 13 Mar 2024 09:54:04 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E8=B0=83=E6=95=B4=20husky=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BB=A5=E9=80=82=E9=85=8D=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .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 58b1861..5ee7abd 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - pnpm exec lint-staged diff --git a/package.json b/package.json index 2a014ad..67843ae 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "build": "tsc && tsup", "lint": "eslint .", "test": "jest", - "prepare": "husky install" + "prepare": "husky" }, "exports": { ".": {