Skip to content

Commit

Permalink
build: fixed husky
Browse files Browse the repository at this point in the history
  • Loading branch information
CptSchnitz committed Sep 23, 2024
1 parent 0d5ae96 commit 31ded07
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pretty-quick --staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"build": "tsc --project tsconfig.build.json",
"start": "npm run build && cd dist && node ./index.js",
"clean": "rimraf dist",
"install": "npx husky install",
"prepublish": "npm run build"
"prepublish": "npm run build",
"prepare": "husky"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 31ded07

Please sign in to comment.