-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
150 lines (150 loc) · 3.51 KB
/
package.json
File metadata and controls
150 lines (150 loc) · 3.51 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "green-coder",
"displayName": "Green Coder: Code Sustainability Optimizer",
"description": "AI-powered extension to analyze and optimize code for energy efficiency and sustainability",
"version": "0.1.1",
"publisher": "unelmaplatforms",
"icon": "images/icon.png",
"categories": [
"Programming Languages",
"Linters",
"Machine Learning"
],
"repository": {
"type": "git",
"url": "https://github.com/unelmacoin/greencoder"
},
"homepage": "https://github.com/unelmacoin/greencoder#readme",
"bugs": {
"url": "https://github.com/unelmacoin/greencoder/issues"
},
"keywords": [
"sustainability",
"energy efficiency",
"code optimization",
"green coding",
"performance",
"javascript",
"typescript",
"python",
"java",
"csharp",
"go",
"php",
"ruby",
"swift",
"kotlin",
"rust"
],
"galleryBanner": {
"color": "#4CAF50",
"theme": "dark"
},
"engines": {
"vscode": "^1.90.0"
},
"activationEvents": [
"onLanguage:python",
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:javascriptreact",
"onLanguage:typescriptreact"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "code-sustainability-optimizer.analyzeFile",
"title": "Analyze Current File for Sustainability"
},
{
"command": "code-sustainability-optimizer.analyzeWorkspace",
"title": "Analyze Workspace for Sustainability"
}
],
"menus": {
"editor/context": [
{
"command": "code-sustainability-optimizer.analyzeFile",
"group": "1_modification"
}
]
},
"languages": [
{
"id": "javascript",
"extensions": [
".js"
],
"aliases": [
"JavaScript",
"javascript"
],
"configuration": "./language-configuration.json"
},
{
"id": "typescript",
"extensions": [
".ts"
],
"aliases": [
"TypeScript",
"typescript"
],
"configuration": "./language-configuration.json"
},
{
"id": "python",
"extensions": [
".py"
],
"aliases": [
"Python",
"python"
],
"configuration": "./language-configuration.json"
}
],
"configuration": {
"title": "Code Sustainability Optimizer",
"properties": {
"codeSustainabilityOptimizer.enableRealTimeAnalysis": {
"type": "boolean",
"default": true,
"description": "Enable real-time analysis of code for sustainability"
},
"codeSustainabilityOptimizer.analysisLevel": {
"type": "string",
"enum": [
"basic",
"standard",
"thorough"
],
"default": "standard",
"description": "Level of analysis to perform"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts"
},
"dependencies": {
"axios": "^1.6.2",
"dotenv": "^16.3.1",
"vscode-languageclient": "^8.1.0"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/node": "^22.15.30",
"@types/react": "^19.1.6",
"@types/vscode": "^1.88.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint": "^8.56.0",
"typescript": "^5.3.3",
"vscode": "^1.1.0"
}
}