forked from formulahendry/vscode-azure-iot-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
288 lines (288 loc) · 8.66 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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
{
"name": "azure-iot-toolkit",
"displayName": "Azure IoT Toolkit",
"description": "Interact with Azure IoT Hub and Azure Event Hub; IoT Device Management; Discover Ethernet, USB serial, WiFi connected devices; Deploy and run in remote machine (e.g. Raspberry Pi, Arduino)",
"version": "0.0.9",
"publisher": "formulahendry",
"icon": "images/logo.png",
"engines": {
"vscode": "^1.0.0"
},
"categories": [
"Other"
],
"keywords": [
"azure",
"iot",
"device",
"explorer",
"cloud"
],
"bugs": {
"url": "https://github.com/formulahendry/vscode-azure-iot-toolkit/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/formulahendry/vscode-azure-iot-toolkit/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/formulahendry/vscode-azure-iot-toolkit.git"
},
"activationEvents": [
"onCommand:azure-iot-toolkit.sendD2CMessage",
"onCommand:azure-iot-toolkit.startMonitorIoTHubMessage",
"onCommand:azure-iot-toolkit.sendMessageToEventHub",
"onCommand:azure-iot-toolkit.startMonitorEventHubMessage",
"onCommand:azure-iot-toolkit.listDevice",
"onCommand:azure-iot-toolkit.createDevice",
"onCommand:azure-iot-toolkit.deleteDevice",
"onCommand:azure-iot-toolkit.discoverDevice",
"onCommand:azure-iot-toolkit.deploy",
"onCommand:azure-iot-toolkit.run"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "azure-iot-toolkit.sendD2CMessage",
"title": "Send message to IoT Hub"
},
{
"command": "azure-iot-toolkit.startMonitorIoTHubMessage",
"title": "Start monitoring IoT Hub message"
},
{
"command": "azure-iot-toolkit.stopMonitorIoTHubMessage",
"title": "Stop monitoring IoT Hub message"
},
{
"command": "azure-iot-toolkit.sendMessageToEventHub",
"title": "Send message to Event Hub"
},
{
"command": "azure-iot-toolkit.startMonitorEventHubMessage",
"title": "Start monitoring Event Hub message"
},
{
"command": "azure-iot-toolkit.stopMonitorEventHubMessage",
"title": "Stop monitoring Event Hub message"
},
{
"command": "azure-iot-toolkit.listDevice",
"title": "List device"
},
{
"command": "azure-iot-toolkit.createDevice",
"title": "Create device"
},
{
"command": "azure-iot-toolkit.deleteDevice",
"title": "Delete device"
},
{
"command": "azure-iot-toolkit.discoverDevice",
"title": "Discover connected device"
},
{
"command": "azure-iot-toolkit.deploy",
"title": "Deploy to remote machine"
},
{
"command": "azure-iot-toolkit.run",
"title": "Run in remote machine"
}
],
"keybindings": [
{
"command": "azure-iot-toolkit.sendD2CMessage",
"key": "ctrl+alt+f9"
},
{
"command": "azure-iot-toolkit.startMonitorIoTHubMessage",
"key": "ctrl+alt+f10"
},
{
"command": "azure-iot-toolkit.stopMonitorIoTHubMessage",
"key": "ctrl+alt+f11"
},
{
"command": "azure-iot-toolkit.listDevice",
"key": "ctrl+alt+f1"
},
{
"command": "azure-iot-toolkit.createDevice",
"key": "ctrl+alt+f2"
},
{
"command": "azure-iot-toolkit.deleteDevice",
"key": "ctrl+alt+f3"
},
{
"command": "azure-iot-toolkit.discoverDevice",
"key": "ctrl+alt+f6"
},
{
"command": "azure-iot-toolkit.deploy",
"key": "ctrl+alt+f4"
},
{
"command": "azure-iot-toolkit.run",
"key": "ctrl+alt+f5"
}
],
"menus": {
"editor/context": [
{
"when": "!inOutput",
"command": "azure-iot-toolkit.sendD2CMessage",
"group": "azure-iot-toolkit-1"
},
{
"when": "!inOutput",
"command": "azure-iot-toolkit.startMonitorIoTHubMessage",
"group": "azure-iot-toolkit-1"
},
{
"when": "inOutput",
"command": "azure-iot-toolkit.stopMonitorIoTHubMessage",
"group": "azure-iot-toolkit@1"
},
{
"when": "!inOutput",
"command": "azure-iot-toolkit.sendMessageToEventHub",
"group": "azure-iot-toolkit-2"
},
{
"when": "!inOutput",
"command": "azure-iot-toolkit.startMonitorEventHubMessage",
"group": "azure-iot-toolkit-2"
},
{
"when": "inOutput",
"command": "azure-iot-toolkit.stopMonitorEventHubMessage",
"group": "azure-iot-toolkit@2"
},
{
"when": "!inOutput",
"command": "azure-iot-toolkit.listDevice",
"group": "azure-iot-toolkit-3@1"
},
{
"when": "!inOutput",
"command": "azure-iot-toolkit.createDevice",
"group": "azure-iot-toolkit-3@2"
},
{
"when": "!inOutput",
"command": "azure-iot-toolkit.deleteDevice",
"group": "azure-iot-toolkit-3@3"
},
{
"when": "!inOutput",
"command": "azure-iot-toolkit.discoverDevice",
"group": "azure-iot-toolkit-3@4"
}
]
},
"configuration": {
"type": "object",
"title": "Azure IoT Explorer configuration",
"properties": {
"azure-iot-toolkit.deviceConnectionString": {
"type": "string",
"default": "<<insert your Device Connection String>>",
"description": "Device Connection String"
},
"azure-iot-toolkit.iotHubConnectionString": {
"type": "string",
"default": "<<insert your IoT Hub Connection String>>",
"description": "IoT Hub Connection String"
},
"azure-iot-toolkit.eventHubConnectionString": {
"type": "string",
"default": "<<insert your Event Hub Connection String>>",
"description": "Event Hub Connection String"
},
"azure-iot-toolkit.eventHubPath": {
"type": "string",
"default": "<<insert your Event Hub Path>>",
"description": "Event Hub Path"
},
"azure-iot-toolkit.iotHubConsumerGroup": {
"type": "string",
"default": "$Default",
"description": "IoT Hub Consumer Group"
},
"azure-iot-toolkit.eventHubConsumerGroup": {
"type": "string",
"default": "$Default",
"description": "Event Hub Consumer Group"
},
"azure-iot-toolkit.showVerboseMessage": {
"type": "boolean",
"default": true,
"description": "Whether to show verbose info when monitoring messages."
},
"azure-iot-toolkit.enableAppInsights": {
"type": "boolean",
"default": true,
"description": "Whether to enable AppInsights to track anonymous telemetry data."
},
"azure-iot-toolkit.localFolder": {
"type": "string",
"default": "",
"description": "The folder of current machine to deploy"
},
"azure-iot-toolkit.remoteFolder": {
"type": "string",
"default": "",
"description": "The folder of remote machine to deploy"
},
"azure-iot-toolkit.host": {
"type": "string",
"default": "",
"description": "The hostname or IP address of remote machine"
},
"azure-iot-toolkit.username": {
"type": "string",
"default": "",
"description": "The username of remote machine"
},
"azure-iot-toolkit.password": {
"type": "string",
"default": "",
"description": "The password of remote machine"
},
"azure-iot-toolkit.command": {
"type": "string",
"default": "",
"description": "The command to run in remote machine"
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"tslint": "tslint -t verbose src/**/*.ts",
"version": "tsc -v"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.40",
"mocha": "^2.3.3",
"tslint": "^4.5.1",
"typescript": "^2.2.1",
"vscode": "^1.0.0"
},
"dependencies": {
"applicationinsights": "^0.16.0",
"azure-event-hubs": "^0.0.6",
"azure-iot-device": "^1.0.16",
"azure-iot-device-http": "^1.0.16",
"azure-iothub": "1.0.18",
"device-discovery-cli": "^0.5.9",
"scp2": "^0.5.0",
"simple-ssh": "^0.9.0"
}
}