From 632d4e9201e26b42ee7d5bfeda407144e9a6e2f3 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 4 Mar 2024 02:09:31 +0800 Subject: [PATCH] chore: modify husky config. --- .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 d37daa075..041c660c9 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx --no-install lint-staged diff --git a/package.json b/package.json index 63b9da686..2f64cdb11 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "type-check": "lerna exec \"tsc --noEmit\" --scope @uiw/* --stream", "test": "tsbb test --env=jsdom", "coverage": "tsbb test --coverage --bail", - "prepare": "husky install", + "prepare": "husky", "publish": "lerna publish from-package --yes --no-verify-access", "version": "lerna version --exact --force-publish --no-push --no-git-tag-version", "prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",