@253eosam/commit-from-branch
Version:
🚀 Flexible commit message templating from branch name (ticket/segments) for Husky's prepare-commit-msg hook. Automatically extracts Jira-style tickets and supports customizable templates.
77 lines (76 loc) • 2 kB
JSON
{
"name": "@253eosam/commit-from-branch",
"version": "0.3.2",
"description": "🚀 Flexible commit message templating from branch name (ticket/segments) for Husky's prepare-commit-msg hook. Automatically extracts Jira-style tickets and supports customizable templates.",
"keywords": [
"commit",
"git",
"husky",
"commit-msg",
"jira",
"ticket",
"branch",
"template",
"prepare-commit-msg",
"automation",
"typescript",
"cli"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/253eosam/commit-from-branch.git"
},
"bugs": {
"url": "https://github.com/253eosam/commit-from-branch/issues"
},
"homepage": "https://253eosam.github.io/commit-from-branch/",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/253eosam"
},
"type": "module",
"main": "./dist/core.cjs",
"module": "./dist/core.js",
"types": "./dist/core.d.ts",
"exports": {
".": {
"types": "./dist/core.d.ts",
"import": "./dist/core.js",
"require": "./dist/core.cjs"
},
"./init": {
"types": "./dist/init.d.ts",
"import": "./dist/init.js",
"require": "./dist/init.cjs"
}
},
"bin": {
"cfb": "bin/cfb.js"
},
"files": [
"dist",
"bin",
"README.md"
],
"engines": {
"node": ">=16"
},
"scripts": {
"build": "tsup src/core.ts src/cli.ts src/init.ts --dts --format cjs,esm --out-dir dist",
"test": "node --test test/*.test.js",
"prepublishOnly": "npm run build",
"release": "node scripts/release.js",
"release:patch": "npm version patch --no-git-tag-version && npm run release",
"release:minor": "npm version minor --no-git-tag-version && npm run release",
"release:major": "npm version major --no-git-tag-version && npm run release"
},
"peerDependencies": {
"husky": "^9.0.0"
},
"devDependencies": {
"@types/node": "^24.3.1",
"tsup": "^8.0.0",
"typescript": "^5.6.0"
}
}