-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.85 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "@ai-coding-workshop/commit-msg",
"version": "0.3.2",
"type": "module",
"main": "dist/index.js",
"bin": {
"commit-msg": "dist/bin/commit-msg.js"
},
"scripts": {
"build": "node scripts/build.js",
"start": "npx tsx src/bin/commit-msg.ts",
"dev": "NODE_ENV=development NODE_OPTIONS=--no-warnings npx tsx src/bin/commit-msg.dev.ts",
"test": "COMMIT_MSG_TEST_NO_GLOBAL_HOOKS=1 vitest run",
"test:no-hook": "SKIP_HOOK_TESTS=true vitest run",
"test:hook-only": "COMMIT_MSG_TEST_NO_GLOBAL_HOOKS=1 vitest run test/hook.test.ts",
"test:compat": "node scripts/test-compatibility.js",
"format": "npx prettier --write src/ test/",
"lint": "npx eslint src/ test/",
"prepare": "husky",
"prepack": "npm run build"
},
"keywords": [
"commit-msg"
],
"files": [
"dist/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ai-coding-workshop/commit-msg.git"
},
"author": "Jiang Xin <worldhello.net@gmail.com>",
"license": "MIT",
"description": "A git commit-msg hook which generate Change-Id and Co-developed-by trailers",
"engines": {
"node": ">=22.0.0"
},
"dependencies": {
"commander": "^14.0.3",
"js-yaml": "^4.1.1",
"latest-version": "^9.0.0",
"minimatch": "^10.2.5",
"semver": "^7.8.1"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@types/js-yaml": "^4.0.9",
"@types/node": "^25.9.1",
"@types/semver": "^7.7.1",
"@typescript-eslint/eslint-plugin": "^8.59.4",
"@typescript-eslint/parser": "^8.59.4",
"@vitest/coverage-v8": "^4.1.7",
"eslint": "^9.39.4",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"prettier": "^3.8.3",
"typescript": "^6.0.3",
"vitest": "^4.1.7"
},
"lint-staged": {
"*.{js,ts,json,md}": [
"prettier --write",
"eslint --fix"
],
"eslint.config.js": ""
}
}