Skip to content

Commit

Permalink
fix: add husky
Browse files Browse the repository at this point in the history
  • Loading branch information
indrif committed Sep 17, 2023
1 parent ad221a0 commit 7d77493
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
Binary file modified .yarn/install-state.gz
Binary file not shown.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
"start:backend": "cd packages/backend && npm run start:dev",
"start:frontend": "cd packages/frontend && npm run dev",
"start": "npm run support && concurrently \"npm run start:backend\" \"npm run start:frontend\" \"npm run nodemon\"",
"support": "docker-compose up -d database"
"support": "docker-compose up -d database",
"prepare": "husky install"
},
"devDependencies": {
"@tsconfig/node18": "^18.2.2",
"@tsconfig/node20": "^20.1.2",
"concurrently": "^8.2.1",
"husky": "^8.0.3",
"husky": "^8.0.0",
"nodemon": "^3.0.1",
"typescript": "^5.2.2"
}
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6640,7 +6640,7 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^8.0.3":
"husky@npm:^8.0.0":
version: 8.0.3
resolution: "husky@npm:8.0.3"
bin:
Expand Down Expand Up @@ -11095,7 +11095,7 @@ __metadata:
"@tsconfig/node18": ^18.2.2
"@tsconfig/node20": ^20.1.2
concurrently: ^8.2.1
husky: ^8.0.3
husky: ^8.0.0
nodemon: ^3.0.1
typescript: ^5.2.2
languageName: unknown
Expand Down

0 comments on commit 7d77493

Please sign in to comment.