Skip to content

Commit

Permalink
build: validate commit messages conform to conventional changelog sta…
Browse files Browse the repository at this point in the history
…ndard
  • Loading branch information
Tom Kirkpatrick committed Jun 30, 2017
1 parent 5e37f8d commit d4c702a
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 @@ -24,7 +24,8 @@
"pretest": "npm run lint",
"test:watch": "npm run test -- -w",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"commitmsg": "validate-commit-msg"
},
"license": "MIT",
"dependencies": {
Expand All @@ -45,6 +46,7 @@
"dirty-chai": "2.0.0",
"eslint": "4.1.1",
"eslint-config-fullcube": "latest",
"husky": "0.14.1",
"loopback": "3.8.0",
"loopback-boot": "2.25.0",
"loopback-component-explorer": "4.2.0",
Expand All @@ -58,7 +60,8 @@
"sinon": "2.3.6",
"sinon-chai": "2.11.0",
"strong-error-handler": "2.1.0",
"supertest": "3.0.0"
"supertest": "3.0.0",
"validate-commit-msg": "2.12.2"
},
"repository": {
"type": "git",
Expand All @@ -77,6 +80,9 @@
"ci": "patch",
"chore": "patch",
"revert": "patch"
},
"validate-commit-msg": {
"types": "conventional-commit-types"
}
},
"release": {
Expand Down

0 comments on commit d4c702a

Please sign in to comment.