-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.11 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.11 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
{
"name": "loop",
"displayName": "loop",
"description": "Test Driven GPT Code Generation",
"version": "1.0.3",
"icon": "assets/logo-small.png",
"publisher": "thefatpanda97",
"repository": {
"type": "git",
"url": "https://github.com/TheFatPanda97/loop"
},
"engines": {
"vscode": "^1.79.0"
},
"categories": [
"Machine Learning",
"Testing"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "loop.generateCode",
"title": "Loop: Generate Code"
},
{
"command": "loop.generateCodeRange",
"title": "Loop: Generate Code (Specific Tests)"
}
],
"configuration": {
"title": "Loop",
"properties": {
"loop.openaiApiKey": {
"type": "string",
"default": "",
"markdownDescription": "OpenAI API Key used to call OpenAI to generate code based on provided tests. To generate a key, [see here](https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key)",
"description": "OpenAI API Key used to call OpenAI to generate code based on provided tests."
},
"loop.model": {
"type": "string",
"default": "gpt-3.5-turbo",
"description": "Model to use for code generation",
"enum": [
"gpt-3.5-turbo",
"gpt-4"
]
}
}
}
},
"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",
"publish": "vsce publish"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@types/vscode": "^1.79.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",
"mocha": "^10.2.0",
"typescript": "^5.1.3"
},
"dependencies": {
"openai": "^3.3.0"
}
}