-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
198 lines (198 loc) · 5.36 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
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{
"name": "nvidia-smi-plus",
"displayName": "nvidia-smi+",
"publisher": "RSIP-Vision",
"author": {
"name": "Elazar",
"email": "[email protected]"
},
"icon": "icon.png",
"keywords": [
"nvidia-smi",
"gpu",
"monitor"
],
"repository": {
"url": "https://github.com/RSIP-Vision/vscode-nividia-smi-plus"
},
"description": "Watch Nvidia GPUs state on your machine",
"version": "1.0.1",
"engines": {
"vscode": "^1.55.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "nvidia-smi+",
"properties": {
"nvidia-smi-plus.executablePath": {
"type": "string",
"title": "nvidia-smi Path",
"default": "nvidia-smi"
},
"nvidia-smi-plus.refresh.autoRefresh": {
"type": "boolean",
"title": "Auto Refresh",
"default": true
},
"nvidia-smi-plus.refresh.timeInterval": {
"type": "integer",
"title": "Time Interval (sec)",
"default": 3,
"minimum": 1,
"maximum": 3600,
"markdownDescription": "Controls the refresh time interval in seconds. Only applies when `#nvidia-smi-plus.refresh.autoRefresh#` is set to `true`."
},
"nvidia-smi-plus.view.gpuItems": {
"type": "array",
"items": {
"type": "string",
"enum": [
"product_name",
"gpu_temp",
"gpu_util",
"fan_speed",
"memory_util",
"memory_total",
"memory_free",
"memory_used",
"memory_used_percent"
]
},
"title": "GPU Information",
"default": [
"memory_total",
"memory_free",
"memory_used_percent"
],
"description": "Configure which information will be shown on the view. see https://github.com/RSIP-Vision/vscode-nividia-smi-plus#available-information-fields for the complete list."
},
"nvidia-smi-plus.view.gpuMainDescription": {
"type": "string",
"enum": [
"product_name",
"gpu_temp",
"gpu_util",
"fan_speed",
"memory_util",
"memory_total",
"memory_free",
"memory_used",
"memory_used_percent"
],
"default": "product_name"
}
}
},
"commands": [
{
"command": "nvidia-smi-plus.open-json",
"title": "Open nvidia-smi output as JSON",
"category": "nvidia-smi+",
"icon": "$(output-view-icon)"
},
{
"command": "nvidia-smi-plus.refresh",
"title": "Refresh",
"category": "nvidia-smi+",
"icon": "$(timeline-refresh)"
},
{
"command": "nvidia-smi-plus.disable-auto-refresh",
"title": "Disable Auto Refresh",
"category": "nvidia-smi+",
"icon": "$(extensions-sync-ignored)"
},
{
"command": "nvidia-smi-plus.enable-auto-refresh",
"title": "Enable Auto Refresh",
"category": "nvidia-smi+",
"icon": "$(extensions-sync-enabled)"
}
],
"views": {
"explorer": [
{
"id": "nvidia-gpus",
"name": "Nvidia GPUs"
}
]
},
"menus": {
"commandPalette": [
{
"command": "nvidia-smi-plus.disable-auto-refresh",
"when": "false"
},
{
"command": "nvidia-smi-plus.enable-auto-refresh",
"when": "false"
}
],
"view/title": [
{
"command": "nvidia-smi-plus.refresh",
"when": "view == nvidia-gpus",
"group": "navigation@1"
},
{
"command": "nvidia-smi-plus.enable-auto-refresh",
"when": "view == nvidia-gpus && !config.nvidia-smi-plus.refresh.autoRefresh",
"group": "navigation@2"
},
{
"command": "nvidia-smi-plus.disable-auto-refresh",
"when": "view == nvidia-gpus && config.nvidia-smi-plus.refresh.autoRefresh",
"group": "navigation@3"
},
{
"command": "nvidia-smi-plus.open-json",
"when": "view == nvidia-gpus",
"group": "navigation"
}
]
},
"viewsWelcome": [
{
"view": "nvidia-gpus",
"contents": "No Nvidia GPUs detected"
}
]
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"build": "webpack --mode development",
"watch": "webpack --mode development --watch",
"lint": "eslint src --ext ts",
"package": "vsce package"
},
"devDependencies": {
"@types/cron": "^1.7.2",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.55.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"esbuild": "^0.11.23",
"eslint": "^7.19.0",
"eslint-webpack-plugin": "^3.0.1",
"glob": "^7.1.6",
"ts-loader": "^9.2.5",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0",
"webpack": "^5.76.0",
"webpack-cli": "^4.8.0"
},
"dependencies": {
"cron": "^1.8.2",
"fast-xml-parser": "^4.2.4",
"vscode-extensions-json-generator": "^0.1.1"
}
}