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"
}

View File

@@ -3108,6 +3108,11 @@ https-proxy-agent@^5.0.0:
agent-base "6"
debug "4"
husky@^8.0.3:
version "8.0.3"
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184"
integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==
idb@7.0.1:
version "7.0.1"
resolved "https://registry.npmjs.org/idb/-/idb-7.0.1.tgz"