Skip to content

Commit

Permalink
build: add validate commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
yisraelx committed Jun 14, 2017
1 parent 43831fe commit 79614fe
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
64 changes: 64 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"coverage:report": "codecov -f coverage/*.json",
"clean": "rimraf lib bundles demo/build coverage",
"commit": "git-cz",
"commitmsg": "validate-commit-msg",
"demo": "webpack-dev-server --config demo/webpack.config.js --progress",
"deploy": "run-s build:gh-pages && gh-pages -d demo/build",
"lint": "run-s lint:*",
Expand All @@ -68,6 +69,9 @@
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
},
"validate-commit-msg": {
"helpMessage": "Commit message violates the rules defined for this project. Please, execute `npm run commit` to generate a correct commit message with `commitizen`"
}
},
"dependencies": {
Expand Down Expand Up @@ -108,6 +112,7 @@
"hammerjs": "^2.0.8",
"html-loader": "^0.4.5",
"html-webpack-plugin": "^2.28.0",
"husky": "^0.13.4",
"istanbul": "^0.4.5",
"istanbul-instrumenter-loader": "^2.0.0",
"jasmine-core": "^2.6.3",
Expand All @@ -130,6 +135,7 @@
"ts-loader": "^2.1.0",
"tslint": "^5.4.3",
"typescript": "^2.3.4",
"validate-commit-msg": "^2.12.2",
"webpack": "^2.6.1",
"webpack-dev-server": "^2.4.5",
"zone.js": "^0.8.12"
Expand Down

0 comments on commit 79614fe

Please sign in to comment.