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 569e258 commit 06bea8d
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 @@ -35,7 +35,8 @@
"test": "nyc --reporter=lcov --reporter=text --reporter=text-summary mocha test/*test.js",
"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"
},
"devDependencies": {
"@bubltechnology/customizable-commit-analyzer": "1.0.2-0",
Expand All @@ -49,6 +50,7 @@
"eslint-config-fullcube": "latest",
"eslint-plugin-mocha": "4.11.0",
"helmet": "3.6.1",
"husky": "0.14.1",
"loglevel": "1.4.1",
"loopback": "3.8.0",
"loopback-boot": "2.25.0",
Expand All @@ -63,7 +65,8 @@
"serve-favicon": "2.4.3",
"sinon": "2.3.5",
"sinon-chai": "2.11.0",
"strong-error-handler": "2.1.0"
"strong-error-handler": "2.1.0",
"validate-commit-msg": "2.12.2"
},
"dependencies": {
"bluebird": "3.5.0",
Expand All @@ -84,6 +87,9 @@
"ci": "patch",
"chore": "patch",
"revert": "patch"
},
"validate-commit-msg": {
"types": "conventional-commit-types"
}
},
"release": {
Expand Down

0 comments on commit 06bea8d

Please sign in to comment.