-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.24 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
{
"name": "code-optimo",
"displayName": "code-optimo",
"description": "A VS Code extension to optimize your code according to guidelines you set",
"version": "0.0.1",
"engines": {
"vscode": "^1.77.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "code-optimo.showCodeOptimoPanel",
"title": "Show Code Improvements",
"category": "View",
"icon": "path/to/icon",
"description": "Displays a list of code improvements for the selected code block."
}
],
"keybindings": [
{
"command": "code-optimo.showCodeOptimoPanel",
"key": "ctrl+shift+i",
"mac": "cmd+shift+i",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "Code Optimo",
"properties": {
"codeOptimo.guidelines": {
"type": "string",
"default": "",
"markdownDescription": "Enter the guidelines for code improvement suggestions."
}
}
}
},
"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": "node ./out/test/runTest.js",
"build": "tsc"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.77.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@vscode/test-electron": "^2.3.0",
"dotenv": "^16.0.3",
"eslint": "^8.36.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"vscode": "^1.1.37",
"webpack": "^5.76.3",
"webpack-cli": "^5.0.1"
},
"repository": {
"type": "git",
"url": "https://github.com/sharonsheah/code-optimo.git"
},
"dependencies": {
"axios": "^1.3.6",
"openai": "^3.2.1"
},
"keywords": [],
"author": "",
"license": "ISC"
}