Skip to content

Commit

Permalink
fix: only run husky in development environment (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeltscher authored Oct 16, 2023
1 parent dadd751 commit 702fb42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"scripts": {
"commitlint": "commitlint --edit",
"prepare": "husky install"
"prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky install"
},
"config": {
"commitizen": {
Expand Down

0 comments on commit 702fb42

Please sign in to comment.