From 79d2aa09e1b0684fe793867252a4b5ee0ecb09d9 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Fri, 22 Mar 2024 19:33:35 +0800 Subject: [PATCH] ci: 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 d37daa0..041c660 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 e53a6ff..cf340f0 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit", "test": "tsbb test", "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}'",