/
package.json
92 lines (92 loc) · 3.03 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
{
"name": "ai-code-assistant",
"displayName": "AI Code Assistant",
"description": "Access OpenAI's ChatGPT with GPT 3 or GPT 4 directly from within VS Code for better productivity",
"version": "0.0.6",
"engines": {
"vscode": "^1.76.0"
},
"publisher": "janscheffler",
"author": {
"name": "Jan Scheffler",
"email": "contact@janscheffler.com"
},
"repository": {
"type": "git",
"url": "https://github.com/jschfflr/ai-code-assistant"
},
"categories": [
"Programming Languages",
"Snippets",
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "ai-code-assistant.show-code-assistant",
"title": "Code Assistant"
}
],
"configuration": {
"title": "Code Assistant",
"properties": {
"codeAssistantAi.openaiApiKey": {
"type": "string",
"default": "",
"markdownDescription": "API Key for OpenAI. You can find your key in your [OpenAI account](https://platform.openai.com/account/api-keys). If you don't have an account already, you can use the link to sign up.\n\n_It is considered best practice to create a new key for this extension instead of using one that you also use elsewhere._"
},
"codeAssistantAi.openaiModel": {
"type": "string",
"default": "gpt-3.5-turbo",
"enum": [
"gpt-3.5-turbo",
"gpt-4"
],
"markdownDescription": "The model version to use. See OpenAI's [Model Overview](https://platform.openai.com/docs/models/overview) for details.\n\n _GPT 4 is in limited beta and only accessible to those who have been granted access. Please join the [waitlist](https://openai.com/waitlist/gpt-4) to get access when capacity is available._"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"build": "node ./esbuild.js",
"watch": "npm run build -- --watch",
"pretest": "npm run build && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "NODE_ENV=production npm run build",
"publish": "vsce publish"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/vscode": "^1.76.0",
"@types/vscode-webview": "^1.57.1",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vscode/test-electron": "^2.2.0",
"@vscode/vsce": "^2.18.0",
"esbuild": "^0.16.17",
"eslint": "^8.28.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"rehype-parse": "^8.0.4",
"rehype-react": "^7.1.2",
"typescript": "^4.9.3"
},
"dependencies": {
"@microsoft/fast-react-wrapper": "^0.3.16-0",
"@vscode/webview-ui-toolkit": "^1.2.2",
"highlight.js": "^11.7.0",
"openai": "^3.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^8.0.5",
"rehype-highlight": "^6.0.0"
}
}