UNPKG

git-commitlint-cli

Version:

项目快速集成Eslint + Prettier + Husky + Commitlint + Lint-staged

78 lines (77 loc) 1.82 kB
{ "name": "git-commitlint-cli", "version": "1.0.2", "description": "项目快速集成Eslint + Prettier + Husky + Commitlint + Lint-staged", "type": "module", "main": "lib/index.cjs", "bin": { "git-commitlint-cli": "lib/index.cjs" }, "engines": { "node": ">=v18.3.0" }, "files": [ "lib", "presetConfig", "README.md" ], "scripts": { "start": "node lib/index.cjs", "build": "node script/build.mjs", "lint": "eslint src --ext .ts", "commit": "czg", "prepare": "husky", "release": "release-it" }, "repository": { "type": "git", "url": "git+https://github.com/monkeyozZ/git-commitlint-cli.git" }, "keywords": [ "Eslint", "Prettier", "Husky", "Commitlint", "Lint-staged", "cz-git" ], "author": "monkey", "license": "ISC", "bugs": { "url": "https://github.com/monkeyozZ/git-commitlint-cli/issues" }, "homepage": "https://github.com/monkeyozZ/git-commitlint-cli#readme", "devDependencies": { "@types/prompts": "^2.4.9", "esbuild": "^0.24.0", "prompts": "^2.4.2", "typescript": "^5.0.0", "kleur": "^4.1.5", "ora": "^8.1.1", "eslint": "^8.57.0", "@typescript-eslint/parser": "^6.10.0", "@typescript-eslint/eslint-plugin": "^6.10.0", "eslint-plugin-prettier": "^5.2.1", "eslint-config-prettier": "^9.0.0", "prettier": "^3.3.3", "husky": "^9.1.7", "lint-staged": "^15.2.11", "cz-git": "^1.11.0", "czg": "^1.11.0", "@commitlint/cli": "^17.0.0", "@commitlint/config-conventional": "^17.0.0" }, "dependencies": {}, "config": { "commitizen": { "path": "node_modules/cz-git", "config": "./cz.config.js" } }, "lint-staged": { "src/**/*.ts": [ "eslint --fix", "prettier --write" ] } }