forked from GabiGrin/OpenRefactorAIVSCode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.37 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": "openrefactorai",
"displayName": "OpenRefactor AI",
"publisher": "gabrielgrinberg",
"description": "Use OpenAI to refactor your code ✨ Perform complex refactors on on any programming language with the power of LLMs 🚀",
"keywords": [
"refactor",
"chatgpt",
"openai",
"ai refactor"
],
"version": "1.1.1",
"icon": "assets/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/GabiGrin/OpenRefactorAIVSCode"
},
"engines": {
"vscode": "^1.78.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "OpenRefactorAI",
"properties": {
"openrefactorai.openAiKey": {
"type": "string",
"default": "",
"description": "OpenAI API Key"
}
}
},
"commands": [
{
"command": "openrefactorai.setOpenAiKey",
"title": "OpenRefactorAI: Set OpenAI Key"
},
{
"command": "openrefactorai.removeOpenAiKey",
"title": "OpenRefactorAI: Remove OpenAI Key"
},
{
"command": "openrefactorai.refactor",
"title": "OpenRefactorAI: Refactor"
}
],
"menus": {
"editor/context": [
{
"when": "editorHasSelection",
"command": "openrefactorai.refactor",
"group": "1_modification"
}
]
}
},
"scripts": {
"vscode:prepublish": "pnpm 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": "pnpm run compile-tests && pnpm run compile && pnpm 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": "16.x",
"@types/vscode": "^1.78.0",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"@vscode/test-electron": "^2.3.0",
"eslint": "^8.39.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4",
"webpack": "^5.81.0",
"webpack-cli": "^5.0.2"
},
"dependencies": {
"openai": "^3.2.1",
"zod": "^3.21.4"
}
}