-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 1.77 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 1.77 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
68
69
70
71
72
73
{
"name": "code-gate",
"version": "1.3.0",
"description": "Intelligent Git commit guard and code reviewer. Supports local (Ollama) and cloud models (DeepSeek, OpenAI, Anthropic, etc.) with a rich CLI UI.",
"type": "module",
"bin": {
"code-gate": "bin/code-gate.js",
"code-gate-hook": "scripts/hook.sh"
},
"main": "dist/index.js",
"files": [
"dist",
"bin",
"scripts",
"vendor",
"README.md",
"README_ZH.md",
"LICENSE"
],
"keywords": [
"git",
"commit",
"code review",
"DeepSeek",
"Ollama",
"diff2html"
],
"author": "gil2015 <jiguojun31@foxmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Gil2015/code-gate.git"
},
"homepage": "https://github.com/Gil2015/code-gate#readme",
"bugs": {
"url": "https://github.com/Gil2015/code-gate/issues"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"build:watch": "tsc -w -p tsconfig.json",
"clean": "rimraf dist",
"dev": "node --enable-source-maps dist/cli.js",
"hook": "node --enable-source-maps dist/commands/hook.js",
"prepare": "npm run build"
},
"engines": {
"node": ">=18"
},
"dependencies": {
"@clack/prompts": "^0.11.0",
"commander": "^12.1.0",
"diff2html": "^3.4.47",
"dompurify": "^3.3.1",
"dotenv": "^17.2.3",
"highlight.js": "^11.9.0",
"jiti": "^2.6.1",
"jsdom": "^25.0.1",
"marked": "^17.0.1",
"micromatch": "^4.0.8",
"openai": "^4.60.0",
"picocolors": "^1.1.1",
"yaml": "^2.6.0"
},
"devDependencies": {
"@types/dompurify": "^3.0.5",
"@types/jsdom": "^21.1.7",
"@types/marked": "^5.0.2",
"@types/micromatch": "^4.0.10",
"@types/node": "^22.7.5",
"rimraf": "^6.0.1",
"typescript": "^5.6.3"
}
}