Skip to content

Commit

Permalink
build: update hooks and script system
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Jul 31, 2019
1 parent fffa27f commit 2940b65
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
"snazzy": "^8.0.0",
"standard": "^13.1.0"
},
"husky": {
"hooks": {
"pre-push": "npm t",
"pre-commit": "npm run lint",
"commit-msg": "conventional-changelog-lint -p angular -e"
}
},
"engines": {
"node": ">=8"
},
Expand All @@ -35,9 +42,8 @@
"main": "lib",
"repository": "posthtml/posthtml-webp",
"scripts": {
"commitmsg": "conventional-changelog-lint -p angular -e",
"version": "conventional-changelog -i changelog.md -s -r 0 && git add changelog.md && git commit -m \"build: update changelog\"",
"lint": "standard | snazzy",
"precommit": "npm run lint",
"release-major": "mversion major",
"release-minor": "mversion minor",
"release-patch": "mversion patch",
Expand Down

0 comments on commit 2940b65

Please sign in to comment.