UNPKG

commit-msg

Version:
55 lines (54 loc) 1.44 kB
{ "name": "commit-msg", "version": "0.2.3", "description": "Git commit message validator", "main": "./lib/commit-message.js", "bin": { "commit-msg": "./bin/validate", "git-commit-msg": "./bin/git-commit-msg" }, "scripts": { "hook": "node lib/setup", "hook-uninstall": "node lib/setup uninstall", "postinstall": "npm run hook", "preuninstall": "npm run hook-uninstall", "test": "mocha --reporter spec --slow 5 --check-leaks test/*.js test/**/*.js", "cover": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec test/*.js test/**/*.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage" }, "repository": { "type": "git", "url": "https://github.com/clns/node-commit-msg" }, "keywords": [ "git", "hook", "commit-msg", "commit message", "parser", "validator", "best practices" ], "author": "Calin Seciu", "license": "MIT", "bugs": { "url": "https://github.com/clns/node-commit-msg/issues" }, "homepage": "https://github.com/clns/node-commit-msg", "engines": { "node": ">=0.12" }, "devDependencies": { "coveralls": "^3.0.2", "istanbul": "^0.4.5", "mocha": "^5.2.0" }, "dependencies": { "chalk": "^2.4.1", "clone": "^2.1.2", "commander": "^2.19.0", "semver": "^5.6.0" }, "optionalDependencies": { "java": "latest" } }