-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.75 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 3.75 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "code-wizard-openai",
"displayName": "Code Wizard OpenAI",
"description": "A VS Code extension to generate code using Azure OpenAI's GPT-4 API",
"version": "1.0.3",
"engines": {
"vscode": "^1.90.0"
},
"publisher": "SanketGhorpade",
"icon": "icon.png",
"pricing": "Free",
"activationEvents": [],
"main": "./dist/extension.js",
"files": [
"dist/**/*.js",
"dist/*",
"images/*",
"CHANGELOG.md"
],
"contributes": {
"commands": [
{
"command": "extension.generateCode",
"title": "CodeWizard: Generate Code"
},
{
"command": "extension.configureOpenAI",
"title": "CodeWizard: Configure"
}
],
"configuration": {
"type": "object",
"title": "OpenAI Configuration",
"properties": {
"codeWizard.apiType": {
"type": "string",
"enum": [
"OpenAI",
"AzureOpenAI"
],
"default": "OpenAI",
"description": "Select the API to use for code generation"
},
"codeWizard.openAI.apiKey": {
"type": "string",
"default": "",
"description": "Your OpenAI API key"
},
"codeWizard.azureOpenAI.apiKey": {
"type": "string",
"default": "",
"description": "Your Azure OpenAI API key"
},
"codeWizard.azureOpenAI.endpoint": {
"type": "string",
"default": "https://your-azure-endpoint.openai.azure.com/",
"description": "Your Azure OpenAI endpoint"
},
"codeWizard.azureOpenAI.deploymentName": {
"type": "string",
"default": "gpt-4o",
"description": "Your Azure OpenAI deployment name"
},
"codeWizard.azureOpenAI.apiVersion": {
"type": "string",
"default": "2023-07-01-preview",
"description": "Your Azure OpenAI API Version"
},
"openai.apiKey": {
"type": "string",
"default": "",
"description": "Your Azure OpenAI API Key"
},
"openai.endpoint": {
"type": "string",
"default": "https://your-azure-endpoint.openai.azure.com/",
"description": "Your Azure OpenAI Endpoint"
},
"openai.deploymentName": {
"type": "string",
"default": "gpt-4o",
"description": "Your Azure OpenAI Deployment Name"
},
"openai.apiVersion": {
"type": "string",
"default": "2023-07-01-preview",
"description": "Your Azure OpenAI API Version"
}
}
}
},
"enableTelemetry": false,
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.90.0",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"eslint": "^8.57.0",
"typescript": "^5.4.5",
"ts-loader": "^9.5.1",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0"
},
"dependencies": {
"axios": "^0.31.0"
},
"repository": {
"type": "git",
"url": "https://github.com/loflet/code-wizard-openai.git"
},
"bugs": {
"url": "https://github.com/loflet/code-wizard-openai/issues"
},
"homepage": "https://github.com/loflet/code-wizard-openai#readme"
}