-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.77 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 2.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "commit-copilot",
"displayName": "Commit Copilot",
"description": "Generate conventional commit messages using LLMs.",
"version": "1.8.0",
"publisher": "JeremySu0818",
"icon": "resources/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/JeremySu0818/Commit-Copilot"
},
"license": "Unlicense",
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"SCM Providers",
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "commit-copilot.generate",
"title": "Commit-Copilot: Generate Commit Message",
"category": "Commit-Copilot",
"icon": "$(sparkle)",
"enablement": "!commit-copilot.isGenerating"
},
{
"command": "commit-copilot.cancelGeneration",
"title": "Commit-Copilot: Cancel Generation",
"category": "Commit-Copilot",
"icon": "$(debug-stop)",
"enablement": "commit-copilot.isGenerating"
}
],
"menus": {
"scm/title": [
{
"command": "commit-copilot.generate",
"group": "navigation",
"when": "scmProvider == git && !commit-copilot.isGenerating"
},
{
"command": "commit-copilot.cancelGeneration",
"group": "navigation",
"when": "scmProvider == git && commit-copilot.isGenerating"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "commit-copilot-activitybar",
"title": "Commit Copilot",
"icon": "$(sparkle)"
}
]
},
"views": {
"commit-copilot-activitybar": [
{
"type": "webview",
"id": "commit-copilot.view",
"name": "Commit Copilot",
"icon": "$(sparkle)"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"package": "npm run check-types && node esbuild.js --production",
"compile": "npm run check-types && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"check-types": "tsc --noEmit",
"lint": "eslint src --ext ts",
"test:build": "tsc --project tsconfig.test.json",
"test:unit": "npm run test:build && node --test --test-concurrency=1 out/test/**/*.test.js",
"test": "npm run test:unit"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.71.2",
"@google/generative-ai": "^0.21.0",
"isbinaryfile": "^4.0.10",
"ollama": "^0.6.3",
"openai": "^4.77.0"
},
"devDependencies": {
"@types/node": "20.x",
"@types/vscode": "^1.80.0",
"esbuild": "^0.27.2",
"eslint": "^8.41.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.1.3"
}
}