@healthmatch/jira-prepare-commit-msg
Version:
Husky Git hook to add JIRA ticket ID into the commit message
75 lines (74 loc) • 2.61 kB
JSON
{
"name": "@healthmatch/jira-prepare-commit-msg",
"version": "1.3.4",
"description": "Husky Git hook to add JIRA ticket ID into the commit message",
"author": "Dmitry Shilov",
"bin": "./bin/index.js",
"keywords": [
"husky",
"jira",
"hook",
"hooks",
"prepare",
"commit",
"message",
"msg"
],
"homepage": "https://github.com/bk201-/jira-prepare-commit-msg",
"bugs": "https://github.com/bk201-/jira-prepare-commit-msg/issues",
"repository": {
"type": "git",
"url": "https://github.com/bk201-/jira-prepare-commit-msg"
},
"license": "MIT",
"dependencies": {
"cosmiconfig": "^7.0.0"
},
"devDependencies": {
"@types/node": "^14.0.14",
"@typescript-eslint/eslint-plugin": "^3.5.0",
"@typescript-eslint/parser": "^3.5.0",
"ava": "^3.10.0",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-semistandard": "^15.0.1",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-node": "^8.10.2",
"typescript": "^3.9.6"
},
"engines": {
"node": ">=10.13"
},
"ava": {
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"scripts": {
"clean": "rimraf -- ./bin/*",
"compile": "npm run clean && npm run tsc",
"eslint": "eslint --ext .js --ext .ts src/",
"eslint:fix": "eslint --ext .js --ext .ts src/ --fix",
"prettier": "prettier --parser typescript --write \"src/**/*.ts\"",
"tsc": "tsc -p ./",
"prepare:husky:2": "cd ./test/husky2 && git init && git checkout -b JIRA-1234-test-husky2 && npm i",
"prepare:husky:3": "cd ./test/husky3 && git init && git checkout -b JIRA-4321-test-husky3 && npm i",
"prepare:husky:4": "cd ./test/husky4 && git init && git checkout -b JIRA-4321-test-husky4 && npm i",
"cleanup:husky:2": "cd ./test/husky2 && rimraf .git && rimraf node_modules && rimraf package-lock.json",
"cleanup:husky:3": "cd ./test/husky3 && rimraf .git && rimraf node_modules && rimraf package-lock.json",
"cleanup:husky:4": "cd ./test/husky4 && rimraf .git && rimraf node_modules && rimraf package-lock.json",
"pretest": "npm run prepare:husky:2 && npm run prepare:husky:3 && npm run prepare:husky:4",
"test": "npm run compile && ava test/test.ts",
"posttest": "npm run cleanup:husky:2 && npm run cleanup:husky:3 && npm run cleanup:husky:4"
}
}