-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 2.95 KB
/
Copy pathpackage.json
File metadata and controls
117 lines (117 loc) · 2.95 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
{
"name": "code-docs-ai",
"displayName": "Code Docs AI",
"description": "GPT-4-powered VS Code extension to generate Python code comments",
"version": "0.1.2",
"publisher": "re-devtools",
"engines": {
"vscode": "^1.81.0"
},
"license": "MIT",
"categories": [
"Programming Languages"
],
"keywords": [
"documentation",
"gpt",
"comment",
"generator"
],
"icon": "media/docs_ai_icon_256.png",
"galleryBanner": {
"color": "#FFD700",
"theme": "light"
},
"bugs": {
"url": "https://github.com/Re-DevTools/Code-Docs-AI/issues",
"email": "contact.redevtools@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/Re-DevTools/Code-Docs-AI"
},
"homepage": "https://github.com/Re-DevTools/Code-Docs-AI",
"main": "./out/extension.js",
"contributes": {
"views": {
"explorer": [
{
"id": "codeDocsAISettings",
"name": "Code Docs AI Settings"
}
]
},
"configuration": [
{
"title": "Code Docs AI",
"properties": {
"code-docs-ai.apiKey": {
"type": "string",
"default": "",
"description": "Please enter your OpenAI API key. This key will be stored on your local machine only:"
},
"code-docs-ai.gptModel": {
"type": "string",
"default": "gpt-4",
"enum": [
"gpt-4",
"gpt-4-turbo",
"gpt-4o-mini",
"gpt-4o"
],
"description": "Select the GPT model to use for generating comments."
}
}
}
],
"activationEvents": [],
"commands": [
{
"command": "extension.generateComment",
"title": "Generate Comment with Code Docs AI 💬"
},
{
"command": "extension.openPromptEditor",
"title": "Edit Default Prompt ✍️"
}
],
"menus": {
"editor/context": [
{
"when": "editorHasSelection",
"command": "extension.generateComment",
"group": "1_comment@1"
},
{
"when": "editorHasSelection",
"command": "extension.openPromptEditor",
"group": "1_comment@2"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@types/vscode": "^1.81.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vscode/test-electron": "^2.3.2",
"eslint": "^8.41.0",
"glob": "^8.1.0",
"typescript": "^5.1.3"
},
"dependencies": {
"axios": "^1.4.0",
"openai": "^3.3.0"
}
}