mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-26 17:11:21 +00:00
feat: added and intialized husky
This commit is contained in:
parent
e541250cc0
commit
642e42ea93
3 changed files with 15 additions and 2 deletions
2
.husky/pre-commit
Executable file
2
.husky/pre-commit
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
|
@ -6,7 +6,8 @@
|
|||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint"
|
||||
"lint": "next lint",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/node": "20.3.1",
|
||||
|
@ -23,6 +24,7 @@
|
|||
"typescript": "5.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/config-conventional": "^17.6.5"
|
||||
"@commitlint/config-conventional": "^17.6.5",
|
||||
"husky": "^8.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,6 +46,9 @@ devDependencies:
|
|||
'@commitlint/config-conventional':
|
||||
specifier: ^17.6.5
|
||||
version: 17.6.5
|
||||
husky:
|
||||
specifier: ^8.0.0
|
||||
version: 8.0.0
|
||||
|
||||
packages:
|
||||
|
||||
|
@ -1481,6 +1484,12 @@ packages:
|
|||
engines: {node: '>=14.18.0'}
|
||||
dev: false
|
||||
|
||||
/husky@8.0.0:
|
||||
resolution: {integrity: sha512-4qbE/5dzNDNxFEkX9MNRPKl5+omTXQzdILCUWiqG/lWIAioiM5vln265/l6I2Zx8gpW8l1ukZwGQeCFbBZ6+6w==}
|
||||
engines: {node: '>=14'}
|
||||
hasBin: true
|
||||
dev: true
|
||||
|
||||
/ignore@5.2.4:
|
||||
resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==}
|
||||
engines: {node: '>= 4'}
|
||||
|
|
Loading…
Reference in a new issue