From 910df672c45a2df8104691482cb5453fd6512368 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 24 Apr 2023 16:36:11 +0800 Subject: [PATCH] chore: fix husky issue. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a871227..c00923d 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "url": "https://github.com/uiwjs/react-login-page.git" }, "scripts": { + "prepare": "husky install", "⬇️⬇️⬇️⬇️⬇️ package ⬇️⬇️⬇️⬇️⬇️": "▼▼▼▼▼ package ▼▼▼▼▼", "doc": "npm run-script build --workspace website", "start": "npm run-script start --workspace website", @@ -26,7 +27,7 @@ }, "lint-staged": { "*.{js,jsx,less,md,json}": [ - "prettier --write" + "prettier --write --ignore-unknown" ], "*.ts?(x)": [ "prettier --parser=typescript --write"