Skip to content

Commit

Permalink
chore: setup husky
Browse files Browse the repository at this point in the history
  • Loading branch information
nekochan0122 committed Aug 28, 2024
1 parent 7439ced commit b34a368
Show file tree
Hide file tree
Showing 3 changed files with 14 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 @@
pnpm prepublish
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"build": "pkgroll --clean-dist",
"build:watch": "pkgroll --clean-dist --watch",
"lint": "eslint --fix",
"prepublish": "pnpm build && pnpm lint"
"prepublish": "pnpm build && pnpm lint",
"prepare": "husky"
},
"devDependencies": {
"@eslint/compat": "^1.1.1",
Expand All @@ -48,6 +49,7 @@
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unicorn": "^55.0.0",
"globals": "^15.9.0",
"husky": "^9.1.5",
"pkgroll": "^2.4.2",
"semantic-release": "^24.1.0",
"typescript-eslint": "^8.3.0"
Expand Down
10 changes: 10 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit b34a368

Please sign in to comment.