@mediamonks/commitlint-issue-reference
Version:
Ensures your commit messages always include the same issue key as in your branch name
121 lines (120 loc) • 2.83 kB
JSON
{
"name": "@mediamonks/commitlint-issue-reference",
"version": "1.1.3",
"description": "Ensures your commit messages always include the same issue key as in your branch name",
"keywords": [
"commitlint",
"husky",
"git",
"commit",
"lint",
"issue",
"ticket",
"jira",
"github"
],
"repository": {
"type": "git",
"url": "https://github.com/mediamonks/commitlint-config.git"
},
"author": "frontend.monks",
"license": "MIT",
"exports": {
"import": "./dist/index.js"
},
"type": "module",
"files": [
"dist",
"bin",
"README.md",
"LICENSE"
],
"bin": {
"commitlint-issue-reference": "./bin/commitlint-issue-reference.js"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "nodemon --ext ts --exec 'tsm' example/index.ts",
"dev:cli": "npm run build:ts -- --watch",
"test": "jest ./src/",
"build": "npm run clean && npm run build:ts",
"build:ts": "tsc -p ./tsconfig.build.json",
"clean": "npm run clean:test && npm run clean:npm",
"clean:test": "shx rm -rf coverage .nyc_output",
"clean:npm": "shx rm -rf dist",
"lint": "eslint --ext .js,.ts .",
"fix": "npm run lint -- --fix",
"typecheck": "tsc --project tsconfig.json --noEmit --noUnusedLocals",
"prepublishOnly": "npm run build"
},
"eslintConfig": {
"overrides": [
{
"files": [
"*.js"
],
"extends": [
"@mediamonks/eslint-config"
]
},
{
"files": [
"*.ts"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"@mediamonks/eslint-config",
"@mediamonks/eslint-config-typescript"
]
},
{
"files": [
"*.test.ts",
"scripts/**/*"
],
"rules": {
"import/no-extraneous-dependencies": "off"
}
}
],
"ignorePatterns": [
"dist/",
"node_modules/",
"bin/"
]
},
"devDependencies": {
"@jest/globals": "^29.3.1",
"@mediamonks/eslint-config": "^2.0.7",
"@mediamonks/eslint-config-typescript": "^1.0.9",
"@mediamonks/prettier-config": "^1.0.1",
"@swc/core": "^1.3.27",
"@swc/jest": "^0.2.24",
"@types/jest": "^29.2.3",
"@types/shelljs": "^0.8.11",
"eslint": "^8.39.0",
"husky": "^8.0.3",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.5.0",
"nodemon": "^2.0.20",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"tsm": "^2.3.0",
"typescript": "^5.0.4"
},
"dependencies": {
"@commitlint/is-ignored": "^17.4.2",
"chalk": "^4.1.2",
"get-stdin": "^9.0.0",
"yargs": "^17.6.2"
},
"engines": {
"node": ">=16.0.0"
}
}