Skip to content

Commit

Permalink
feat: add husky pre commit
Browse files Browse the repository at this point in the history
  • Loading branch information
TrymVei committed Nov 29, 2024
1 parent 474e280 commit 55feee8
Show file tree
Hide file tree
Showing 3 changed files with 19 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 @@
npm run fix
15 changes: 15 additions & 0 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 @@ -11,7 +11,8 @@
"fix": "run-s lint format",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test-storybook": "test-storybook"
"test-storybook": "test-storybook",
"prepare": "husky"
},
"dependencies": {
"@sanity/color-input": "^4.0.1",
Expand All @@ -20,6 +21,7 @@
"@sanity/preview-url-secret": "^1.6.11",
"@sanity/react-loader": "^1.10.7",
"@sanity/vision": "^3.39.1",
"husky": "^9.1.7",
"negotiator": "^0.6.3",
"next": "^14.2.15",
"next-intl": "^3.24.0",
Expand Down

0 comments on commit 55feee8

Please sign in to comment.