Skip to content

Commit

Permalink
add: husky
Browse files Browse the repository at this point in the history
  • Loading branch information
Celesca committed Nov 20, 2024
1 parent f3a5220 commit d5aa013
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bun test
Binary file modified bun.lockb
Binary file not shown.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "bun run --watch src/index.ts",
"build": "bun build src/index.ts"
"build": "bun build src/index.ts",
"prepare": "husky"
},
"dependencies": {
"@elysiajs/swagger": "^1.1.5",
Expand All @@ -13,6 +14,7 @@
},
"devDependencies": {
"bun-types": "latest",
"husky": "^9.1.7",
"prisma": "^5.22.0"
},
"module": "src/index.js"
Expand Down

0 comments on commit d5aa013

Please sign in to comment.