-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
115 lines (115 loc) · 2.86 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
106
107
108
109
110
111
112
113
114
115
{
"name": "gpthelper",
"displayName": "GPT",
"description": "Use GPT inside VS Code",
"icon": "icon.jpg",
"version": "0.4.8",
"engines": {
"vscode": "^1.70.0"
},
"publisher": "SilasNevstad",
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.askGPT",
"onCommand:gpthelper.setKey",
"onCommand:gpthelper.changeLimit",
"onCommand:gpthelper.changeModel",
"onCommand:gpthelper.showChatHistory",
"onCommand:gpthelper.clearChatHistory",
"onCommand:gpthelper.changeOutputMode",
"onCommand:gpthelper.changeDebugMode"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "extension.askGPT",
"title": "Ask GPT"
},
{
"command": "gpthelper.setKey",
"title": "GPT: Set API Key"
},
{
"command": "gpthelper.changeLimit",
"title": "GPT: Change Token Limit"
},
{
"command": "gpthelper.changeModel",
"title": "GPT: Change Model"
},
{
"command": "gpthelper.showChatHistory",
"title": "GPT: Show Chat History"
},
{
"command": "gpthelper.clearChatHistory",
"title": "GPT: Clear Chat History"
},
{
"command": "gpthelper.changeOutputMode",
"title": "GPT: Change Output Mode"
},
{
"command": "gpthelper.changeDebugMode",
"title": "GPT: Change Debug Mode"
}
]
},
"menus": {
"editor/context": [
{
"command": "gpthelper.askGPT",
"group": "gptCommands",
"when": "editorHasSelection"
},
{
"command": "gpthelper.showChatHistory",
"group": "gptCommands",
"when": "editorHasSelection"
}
]
},
"keybindings": [
{
"command": "extension.askGPT",
"key": "alt+shift+i",
"mac": "alt+shift+i"
}
],
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./extension.js --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@eslint/js": "^9.4.0",
"@types/glob": "^8.0.1",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.70.0",
"@vscode/test-electron": "^2.2.2",
"esbuild": "^0.20.2",
"eslint": "^9.4.0",
"glob": "^8.1.0",
"globals": "^15.4.0",
"mocha": "^10.1.0",
"vscode": "^1.1.37"
},
"dependencies": {
"axios": "^1.7.2",
"dotenv": "^16.0.3",
"openai": "^3.3.0"
},
"repository": {
"type": "git",
"url": "git://github.com/silasnevstad/GPT-Extension-VSCode"
}
}