Skip to content

Instantly share code, notes, and snippets.

@claytonsilva
Last active May 28, 2017 07:15
Show Gist options
  • Save claytonsilva/c99f98aef49289a1961843124c85b757 to your computer and use it in GitHub Desktop.
Save claytonsilva/c99f98aef49289a1961843124c85b757 to your computer and use it in GitHub Desktop.
{
"name": "jira-demo",
"version": "0.1.0",
"description": "",
"main": "index.js",
"scripts": {
"commitmsg": "validate-commit-msg"
},
"author": "",
"license": "ISC",
"devDependencies": {
"cz-conventional-changelog": "^2.0.0",
"cz-jira-smart-commit": "^2.0.1",
"husky": "^0.13.3",
"validate-commit-msg": "^2.12.1"
},
"config": {
"types": [
"feat",
"fix",
"docs",
"style",
"refactor",
"perf",
"test",
"chore",
"revert",
"ci",
"build"
],
"validate-commit-msg": {
"warnOnFail": false,
"maxSubjectLength": 100,
"subjectPattern": "^JRA-[0-9]+ #comment .*",
"subjectPatternErrorMsg": "Subject must be in format 'JRA-123 #comment <text> '",
"helpMessage": ":D"
},
"commitizen": {
"path": "./node_modules/cz-jira-smart-commit"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment