/
package.json
104 lines (104 loc) · 2.56 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
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "vscode-chatgpt-batch",
"publisher": "ChadBumstead",
"displayName": "ChatGPT Batch",
"description": "Ask ChatGPT to perform multi-file batch changes such as code refactoring and unit test generation.",
"version": "1.0.1",
"icon": "images/chatgpt.png",
"engines": {
"vscode": "^1.76.0"
},
"categories": [
"Other"
],
"keywords": ["ai", "openai", "chatgpt", "batch", "refactoring", "testing"],
"pricing": "Free",
"activationEvents": [],
"main": "./out/extension.js",
"repository": {
"type": "git",
"url": "https://github.com/cbumstead/chatgpt-batch"
},
"license": "MIT",
"contributes": {
"commands": [
{
"command": "chatgptBatch.processSelected",
"title": "Process Files with ChatGPT"
},
{
"command": "chatgptBatch.createUnitTests",
"title": "Create Unit Tests with ChatGPT"
},
{
"command": "chatgptBatch.changeOpenAIAPIKey",
"title": "ChatGPT Batch: Change OpenAI API key"
}
],
"menus": {
"explorer/context": [
{
"command": "chatgptBatch.processSelected",
"group": "chatgptBatch.group",
"when": "explorerResourceIsFolder || explorerResourceIsFile"
},
{
"command": "chatgptBatch.createUnitTests",
"group": "chatgptBatch.group",
"when": "explorerResourceIsFolder || explorerResourceIsFile"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"pretest": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts",
"test": "jest"
},
"jest": {
"rootDir": "./",
"moduleNameMapper": {
"^vscode$": "out/__mocks__/vscode.js"
},
"testEnvironment": "node",
"testMatch": [
"**/out/*.test.js"
],
"moduleFileExtensions": [
"js",
"json",
"node"
],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json"
}
},
"transform": {
"^.+\\.ts$": "ts-jest"
}
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@vscode/test-electron": "^2.2.3",
"eslint": "^8.34.0",
"glob": "^8.1.0",
"jest": "^29.5.0",
"mocha": "^10.2.0",
"prettier": "^2.8.4",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
},
"dependencies": {
"openai": "^3.2.1"
}
}