From 7cfefee4bd4bb83b3439100664efb15a8a5d8050 Mon Sep 17 00:00:00 2001 From: Kysen Date: Mon, 6 Mar 2023 15:26:17 +0800 Subject: [PATCH] chore: Added the husky initialization script --- .husky/commit-msg | 0 .husky/pre-commit | 0 package.json | 3 ++- 3 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 .husky/commit-msg mode change 100644 => 100755 .husky/pre-commit diff --git a/.husky/commit-msg b/.husky/commit-msg old mode 100644 new mode 100755 diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100644 new mode 100755 diff --git a/package.json b/package.json index 119adbe..528c203 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "lint:fix": "eslint . --fix", "preview": "vite preview", "test": "vitest", - "plop": "plop" + "plop": "plop", + "prepare": "npx husky install" }, "dependencies": { "@vant/touch-emulator": "^1.4.0",