-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 3.09 KB
/
package.json
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
102
103
104
105
{
"name": "gitwit",
"displayName": "Gitwit: AI-Powered Git Commit Message Generator",
"description": "An AI Git Commit Message Generator",
"version": "1.0.2",
"icon": "images/gitwit.png",
"license": "GPL-3.0-only",
"publisher": "MohammedAbidNafi",
"engines": {
"vscode": "^1.93.0"
},
"categories": [
"AI",
"Snippets"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "MohammedAbidNafi.gitwit.extension.generateCommitMessage",
"title": "GitWit: Generate Commit Message"
},
{
"command": "MohammedAbidNafi.gitwit.extension.selectModel",
"title": "GitWit: Select AI Model"
},
{
"command": "MohammedAbidNafi.gitwit.extension.apikey",
"title": "GitWit: Enter API Key"
}
],
"configuration": {
"type": "object",
"title": "GitWit Settings",
"properties": {
"MohammedAbidNafi.gitwit.selectedModel": {
"type": "string",
"default": "gpt-4o",
"enum": [
"gpt-4o",
"gpt-4o-mini",
"o1-preview",
"o1-mini",
"gpt-4-turbo",
"gpt-4",
"gpt-3.5-turbo",
"gemini-1.5-flash",
"gemini-1.5-pro",
"gemini-1.0-pro"
],
"description": "Select the AI model you want to use for generating commit messages."
},
"MohammedAbidNafi.gitwit.mainModel": {
"type": "string",
"default": "ChatGPT",
"enum": [
"ChatGPT",
"Gemini"
],
"description": "Select the AI model you want to use for generating commit messages."
},
"MohammedAbidNafi.gitwit.apiKey": {
"type": "string",
"description": "Enter the API key for the selected AI model.",
"default": ""
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "yarn run check-types && yarn run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "yarn run check-types && yarn run lint && node esbuild.js --production",
"build": "yarn vsce package",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "yarn run compile-tests && yarn run compile && yarn run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.93.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.23.1",
"eslint": "^9.9.1",
"npm-run-all": "^4.1.5",
"typescript": "^5.5.4"
},
"dependencies": {
"@google/generative-ai": "^0.21.0",
"@vscode/vsce": "^3.2.1",
"openai": "^4.70.2",
"simple-git": "^3.26.0"
}
}