-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
280 lines (280 loc) · 10.4 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
{
"name": "erdev",
"publisher": "EffectiveRangeLLC",
"icon": "resources/er_logo_green_256x256.png",
"displayName": "Effective-Range Development Extension",
"description": "Extension for packaging projects into debian packages,deploying them and remote debugging on Debian based devices",
"repository": {
"type": "git",
"url": "https://github.com/EffectiveRange/vscodeext-er-dev"
},
"version": "0.5.0",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished",
"onCommand:workbench.action.tasks.runTask",
"onDebug"
],
"main": "./dist/extension.js",
"contributes": {
"keybindings": [
{
"command": "erdev.launchProjectExe",
"key": "Ctrl+Shift+F5",
"when": "!inDebugMode"
},
{
"command": "erdev.deployProject",
"key": "Ctrl+Alt+d"
}
],
"icons": {
"er-crosshair": {
"description": "ER Dev crosshair",
"default": {
"fontPath": "resources/erdev.woff",
"fontCharacter": "\\002B"
}
}
},
"commands": [
{
"command": "er-ssh-explorer.refresh",
"title": "Refresh SSH Targets",
"category": "ER Dev",
"icon": "$(refresh)"
},
{
"command": "erdev.packProject",
"title": "Pack Project",
"category": "ER Dev",
"icon": "$(package)"
},
{
"command": "erdev.deployProject",
"title": "Deploy Project",
"category": "ER Dev",
"icon": "$(cloud-upload)"
},
{
"command": "erdev.deployQuickProject",
"title": "Quick-Deploy Project",
"category": "ER Dev",
"icon": "$(zap)"
},
{
"command": "erdev.launchProjectExe",
"title": "Launch Executable",
"category": "ER Dev",
"icon": "$(debug-alt)"
},
{
"command": "erdev.remoteAttach",
"title": "Attach to Remote Process",
"category": "ER Dev",
"icon": "$(debug-console)"
},
{
"command": "er-ssh-explorer.deployProject",
"title": "Deploy Project",
"category": "ER Dev",
"icon": "$(cloud-upload)",
"when": "view == er-ssh-explorer"
},
{
"command": "er-ssh-explorer.deployQuickProject",
"title": "Quick-Deploy Project",
"category": "ER Dev",
"icon": "$(zap)",
"when": "view == er-ssh-explorer"
},
{
"command": "er-ssh-explorer.launchProjectExe",
"title": "Launch Project",
"category": "ER Dev",
"icon": "$(debug-alt)",
"when": "view == er-ssh-explorer"
},
{
"command": "er-ssh-explorer.terminal",
"title": "Open terminal",
"category": "ER Dev",
"icon": "$(terminal)",
"when": "view == er-ssh-explorer"
},
{
"command": "erdev.terminal",
"title": "Open terminal",
"category": "ER Dev",
"icon": "$(terminal)"
},
{
"command": "erdev.pickProgram",
"title": "Pick Program executable for debug launch",
"category": "ER Dev",
"icon": "$(file-binary)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "er-explorer",
"title": "ER Dev Explorer",
"icon": "resources/er_logo_black_opaque.png"
}
]
},
"views": {
"er-explorer": [
{
"id": "er-ssh-explorer",
"name": "SSH Devices",
"title": "SSH Devices",
"visibility": "collapsed",
"commands": []
},
{
"id": "er-serial-explorer",
"name": "Serial Devices",
"title": "Serial Devices"
}
]
},
"menus": {
"commandPalette": [
{
"command": "er-ssh-explorer.deployProject",
"when": "false"
},
{
"command": "er-ssh-explorer.deployQuickProject",
"when": "false"
},
{
"command": "er-ssh-explorer.launchProjectExe",
"when": "false"
},
{
"command": "er-ssh-explorer.terminal",
"when": "false"
}
],
"view/title": [
{
"command": "er-ssh-explorer.refresh",
"when": "view == er-ssh-explorer",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "er-ssh-explorer.deployProject",
"when": "view == er-ssh-explorer && viewItem == erdevice",
"group": "inline@1"
},
{
"command": "er-ssh-explorer.deployQuickProject",
"when": "view == er-ssh-explorer && viewItem == erdevice",
"group": "inline@2"
},
{
"command": "er-ssh-explorer.launchProjectExe",
"when": "view == er-ssh-explorer && viewItem == erdevice",
"group": "inline@3"
},
{
"command": "er-ssh-explorer.terminal",
"when": "view == er-ssh-explorer && viewItem == erdevice",
"group": "inline@4"
}
]
},
"configuration": {
"title": "ER Dev Extension settings",
"properties": {
"erdev.sshconfig": {
"type": "string",
"default": "~/.ssh/config",
"description": "The path to the ssh config file to use the host definitions from"
}
}
}
},
"scripts": {
"main-out": "json -I -f package.json -e 'this.main=\"./out/extension.js\"'",
"main-dist": "json -I -f package.json -e 'this.main=\"./dist/extension.js\"'",
"vscode:prepublish": "yarn run compile-production",
"fetchtools": "wget -P resources/scripts/ $(curl --silent https://api.github.com/repos/EffectiveRange/packaging-tools/releases | jq -r '.[0] |.assets[0].browser_download_url') && tar -C resources/scripts/ -xzf resources/scripts/packaging-tools.tar.gz && rm -f resources/scripts/packaging-tools.tar.gz*",
"compile": "yarn install && yarn fetchtools && yarn run main-dist && webpack --mode development",
"compile-watch": "yarn install && yarn fetchtools && yarn run main-dist && webpack --mode development --watch --progress",
"compile-production": "yarn install && yarn fetchtools && yarn run main-dist && webpack --mode production",
"compile-tests": "yarn install && yarn fetchtools && yarn run main-out && tsc -p . --outDir out",
"watch": "yarn run main-out && tsc -watch -p ./",
"prepackage": "rm -rf ./build && mkdir ./build",
"package": "vsce package --yarn --out ./build/",
"pretest": "yarn run compile-tests && yarn run lint",
"watch-tests": "yarn run main-out && tsc -p . -w --outDir out",
"test": "yarn run pretest && node ./out/test/runTest.js",
"lint": "eslint src --ext ts",
"coverage": "c8 --all --100 yarn run test",
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin $(git rev-parse --abbrev-ref HEAD) && git push origin $(git describe)",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin $(git rev-parse --abbrev-ref HEAD) && git push origin $(git describe)",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin $(git rev-parse --abbrev-ref HEAD) && git push origin $(git describe)"
},
"devDependencies": {
"@types/chai": "^4.3.12",
"@types/mocha": "^10.0.6",
"@types/node": "^22",
"@types/sinon": "^17.0.3",
"@types/uuid": "^9.0.8",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^2.31.1",
"c8": "^10.1.3",
"chai": "^5.1.0",
"eslint": "^8.0.1",
"eslint-config-love": "^56.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-promise": "^7.2.1",
"generate-changelog": "^1.8.0",
"json": "^11.0.0",
"mocha": "^10.3.0",
"prettier": "^3.4.2",
"sinon": "^19.0.2",
"ts-loader": "^9.5.1",
"typescript": "5.5.4",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"compare-versions": "^6.1.0",
"glob": "^10.3.10",
"lru-cache": "^11.0.2",
"shescape": "^2.1.0",
"ssh-config": "^4.4.1",
"uuid": "^11.0.5",
"vscode-cmake-tools": "^1.1.0"
},
"extensionDependencies": [
"ms-vscode.cmake-tools",
"ms-vscode.cpptools-extension-pack",
"ms-python.debugpy"
],
"extensionKind": [
"workspace"
],
"resolutions": {
"wrap-ansi": "7.0.0",
"strip-ansi": "6.0.1",
"string-width": "4.2.3"
}
}