Last active
July 20, 2016 21:26
-
-
Save eperedo/2b5f9b765d36f34464b7 to your computer and use it in GitHub Desktop.
Commitizen configuration including ghooks for validation messages, commits and push
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "[package-name]", | |
"description": "", | |
"main": "src/index.js", | |
"version": "0.0.0-semantic-release", | |
"scripts": { | |
"commit": "git-cz", | |
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -w -r 0", | |
"coverage": "istanbul cover node_modules/tape/bin/tape -- tape src/**/*.test.js", | |
"dev": "nodemon src/server.js --ignore '*.test.js'", | |
"lint": "eslint src/**/*.js", | |
"pretest": "npm run lint", | |
"test": "tape src/**/*.test.js | tap-spec", | |
"watch": "nodemon -q -x npm test" | |
}, | |
"keywords": [], | |
"author": "Eduardo Peredo <[email protected]>", | |
"license": "MIT", | |
"devDependencies": { | |
"commitizen": "2.8.2", | |
"conventional-changelog": "1.1.0", | |
"cz-conventional-changelog": "1.1.6", | |
"eslint": "3.1.1", | |
"ghooks": "1.3.2", | |
"istanbul": "0.4.4", | |
"nodemon": "1.9.2", | |
"tap-spec": "4.1.1", | |
"tape": "4.6.0", | |
"validate-commit-message": "3.0.1" | |
}, | |
"engines": { | |
"node": ">= 5.4.0" | |
}, | |
"config": { | |
"commitizen": { | |
"path": "node_modules/cz-conventional-changelog" | |
}, | |
"ghooks": { | |
"pre-commit": "npm test", | |
"pre-push": "npm test", | |
"commit-msg": "validate-commit-msg" | |
} | |
}, | |
"repository": { | |
"type": "git", | |
"url": "https://bitbucket.org/abakioteam/quinta" | |
}, | |
"release": { | |
"debug": true, | |
"generateNotes": "npm run changelog" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment