Skip to content

Commit

Permalink
feat: add husky
Browse files Browse the repository at this point in the history
  • Loading branch information
grasielaGomes committed Feb 24, 2024
1 parent 30fc3b4 commit df31685
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run build
20 changes: 18 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && tsup ./src",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"prepare": "husky"
},
"devDependencies": {
"husky": "^9.0.11",
"semantic-release": "^21.0.7",
"tsup": "^7.2.0",
"typescript": "^5.1.6"
Expand Down

0 comments on commit df31685

Please sign in to comment.