Skip to content

Commit

Permalink
[PROD-2277] added husky
Browse files Browse the repository at this point in the history
  • Loading branch information
chetansatasiya committed Mar 8, 2022
1 parent 763c22f commit 35c84e7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx jira-prepare-commit-msg $1
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.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,17 @@
"grunt-string-replace": "^1.3.1",
"grunt-stylelint": "^0.17.0",
"grunt-wp-i18n": "^1.0.3",
"husky": "^7.0.4",
"jira-prepare-commit-msg": "^1.6.2",
"matchdep": "^2.0.0",
"node-sass": "^7.0.0",
"postcss": "^8.4.4",
"postcss-scss": "^4.0.2",
"stylelint": "~13.13.1"
},
"scripts": {
"prepare": "npm install husky jira-prepare-commit-msg --save-dev && npx husky install"
},
"engines": {
"node": ">=14.15.0"
},
Expand Down

0 comments on commit 35c84e7

Please sign in to comment.