Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
build(husky): moved the configs in the package.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-pogor committed Nov 30, 2020
1 parent 11938c7 commit 3805089
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .huskyrc

This file was deleted.

7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
"resolutions": {
"minimist": "^1.2.5"
},
"husky": {
"hooks": {
"pre-commit": "npm run build && npm run copy && git add resources assets/js",
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/sunt-programator/hugo-codeit.git"
Expand Down

0 comments on commit 3805089

Please sign in to comment.