adds Husky 🐶 for pre-commit linting

This commit is contained in:
Oliver Jägle
2024-11-22 17:52:01 +01:00
parent 4589014bda
commit b0eab230b5
3 changed files with 15 additions and 2 deletions

View File

@@ -20,7 +20,8 @@
"dockerbuild": "docker build -t bolt-ai:development -t bolt-ai:latest --target bolt-ai-development .",
"typecheck": "tsc",
"typegen": "wrangler types",
"preview": "pnpm run build && pnpm run start"
"preview": "pnpm run build && pnpm run start",
"prepare": "husky"
},
"engines": {
"node": ">=18.18.0"
@@ -101,6 +102,7 @@
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"fast-glob": "^3.3.2",
"husky": "9.1.7",
"is-ci": "^3.0.1",
"node-fetch": "^3.3.2",
"prettier": "^3.3.2",