chore: add prepare script for husky

This commit is contained in:
Isaac 2024-04-18 00:33:17 +01:00
parent 3403014812
commit 1c9bd0825e
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33

View File

@ -14,7 +14,8 @@
"postinstall": "node scripts/postinstall", "postinstall": "node scripts/postinstall",
"start": "node .", "start": "node .",
"studio": "npx prisma studio", "studio": "npx prisma studio",
"test": "node scripts/check-i18n" "test": "node scripts/check-i18n",
"prepare": "husky install"
}, },
"commitlint": { "commitlint": {
"extends": [ "extends": [
@ -82,7 +83,7 @@
"conventional-changelog-cli": "^2.2.2", "conventional-changelog-cli": "^2.2.2",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-plugin-unused-imports": "^2.0.0", "eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.3", "husky": "^8.0.0",
"lint-staged": "^13.3.0", "lint-staged": "^13.3.0",
"markdown-table": "^3.0.3", "markdown-table": "^3.0.3",
"nodemon": "^2.0.22" "nodemon": "^2.0.22"