Added a Husky pre-commit to always build before a commit

This commit is contained in:
Tiago Ribeiro
2023-10-21 16:51:55 +01:00
parent 913ed54cf9
commit 9f9e36f0cd
2 changed files with 8 additions and 1 deletions

View File

@@ -6,7 +6,8 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"prepare": "husky install"
},
"dependencies": {
"@headlessui/react": "^1.7.13",
@@ -74,6 +75,7 @@
"@types/wavesurfer.js": "^6.0.6",
"@wixc3/react-board": "^2.2.0",
"autoprefixer": "^10.4.13",
"husky": "^8.0.3",
"postcss": "^8.4.21",
"tailwindcss": "^3.2.4"
}