chore: remove husky

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2024-12-19 14:47:27 +08:00
parent 431e57feb6
commit 398c5dc4bf
8 changed files with 14 additions and 34 deletions

View File

@@ -10,7 +10,7 @@
"author": "Innei <https://innei.in>",
"scripts": {
"format": "prettier --write \"apps/**/*.ts\" \"test/**/*.ts\" \"packages/**/*.ts\"",
"prepare": "husky",
"prepare": "simple-git-hooks",
"build:external": "pnpm -C \"packages/compiled\" run build",
"build": "pnpm run build:external && pnpm -C \"apps/core\" run build",
"dev": "pnpm run build:external && pnpm -C \"apps/core\" run start",
@@ -33,20 +33,18 @@
"cross-env": "7.0.3",
"eslint": "^9.16.0",
"eslint-plugin-unused-imports": "4.1.4",
"husky": "9.1.7",
"lint-staged": "15.2.10",
"prettier": "3.4.1",
"rimraf": "6.0.1",
"simple-git-hooks": "2.11.1",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"tsup": "8.3.5",
"typescript": "5.7.2",
"vite-tsconfig-paths": "5.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
@@ -63,4 +61,4 @@
"typescript": "5.6.3",
"whatwg-url": "14.0.0"
}
}
}