forked from SchoofsKelvin/vscode-sshfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
221 lines (221 loc) · 7.35 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
{
"name": "vscode-sshfs",
"displayName": "SSH FS",
"description": "File system provider using SSH",
"publisher": "vistec",
"version": "1.16.2",
"engines": {
"vscode": "^1.33.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onFileSystem:ssh",
"onFileSystemAccess:ssh",
"onView:sshfs-configs",
"onCommand:sshfs.new",
"onCommand:sshfs.connect",
"onCommand:sshfs.reconnect",
"onCommand:sshfs.disconnect",
"onCommand:sshfs.configure",
"onCommand:sshfs.reload",
"onCommand:sshfs.settings",
"onCommand:sshfs.connectTerminal"
],
"main": "./dist/extension.js",
"author": {
"name": "Kelvin Schoofs",
"email": "[email protected]",
"url": "https://github.com/SchoofsKelvin"
},
"repository": {
"type": "git",
"url": "https://github.com/SchoofsKelvin/vscode-sshfs"
},
"bugs": {
"url": "https://github.com/SchoofsKelvin/vscode-sshfs/issues"
},
"license": "GLP-3.0",
"icon": "resources/Logo.png",
"contributes": {
"views": {
"explorer": [
{
"id": "sshfs-configs",
"name": "SSH File Systems"
}
]
},
"commands": [
{
"command": "sshfs.new",
"title": "Create a SSH FS configuration",
"category": "SSH FS"
},
{
"command": "sshfs.connect",
"title": "Connect as Workspace folder",
"category": "SSH FS"
},
{
"command": "sshfs.reconnect",
"title": "Reconnect Workspace folder",
"category": "SSH FS"
},
{
"command": "sshfs.disconnect",
"title": "Disconnect Workspace folder",
"category": "SSH FS"
},
{
"command": "sshfs.configure",
"title": "Edit configuration",
"category": "SSH FS"
},
{
"command": "sshfs.reload",
"title": "Reload configurations",
"category": "SSH FS"
},
{
"command": "sshfs.settings",
"title": "Open settings and edit configurations",
"category": "SSH FS"
},
{
"command": "sshfs.connectTerminal",
"title": "Connect SSH Terminal",
"category": "SSH FS"
}
],
"menus": {
"commandPalette": [
{
"command": "sshfs.new",
"group": "SSH FS@1"
},
{
"command": "sshfs.connect",
"group": "SSH FS@2"
},
{
"command": "sshfs.reconnect",
"group": "SSH FS@3"
},
{
"command": "sshfs.disconnect",
"group": "SSH FS@4"
},
{
"command": "sshfs.configure",
"group": "SSH FS@5"
},
{
"command": "sshfs.reload",
"group": "SSH FS@6"
},
{
"command": "sshfs.settings",
"group": "SSH FS@7"
},
{
"command": "sshfs.connectTerminal",
"group": "SSH FS@8"
}
],
"view/item/context": [
{
"command": "sshfs.new",
"when": "view == 'sshfs-configs' && !viewItem",
"group": "SSH FS@1"
},
{
"command": "sshfs.connect",
"when": "view == 'sshfs-configs' && viewItem == inactive",
"group": "SSH FS@2"
},
{
"command": "sshfs.reconnect",
"when": "view == 'sshfs-configs' && viewItem == active",
"group": "SSH FS@3"
},
{
"command": "sshfs.disconnect",
"when": "view == 'sshfs-configs' && viewItem == active",
"group": "SSH FS@4"
},
{
"command": "sshfs.configure",
"when": "view == 'sshfs-configs' && viewItem",
"group": "SSH FS@5"
},
{
"command": "sshfs.settings",
"when": "view == 'sshfs-configs' && !viewItem",
"group": "SSH FS@6"
},
{
"command": "sshfs.connectTerminal",
"when": "view == 'sshfs-configs' && viewItem",
"group": "SSH FS@7"
}
]
},
"configuration": {
"title": "SSH FS Configuration",
"properties": {
"sshfs.configpaths": {
"title": "A list of file locations to load SSH FS configurations from",
"description": "Location of JSON files to load configs from",
"type": "array",
"items": "string",
"default": []
},
"sshfs.configs": {
"title": "A list of SSH FS configurations",
"description": "Use the Settings UI to edit configurations (run command SSH FS: Open settings and edit configurations)",
"markdownDescription": "Use the Settings UI to edit configurations *(run command `SSH FS: Open settings and edit configurations`)*",
"type": "array",
"items": "object",
"default": [
{
"root": "/tmp",
"host": "localhost",
"port": 22,
"username": "root",
"password": "CorrectHorseBatteryStaple"
}
]
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build && cd webview && npm run build",
"build": "webpack --mode production",
"compile": "webpack --mode none --info-verbosity verbose --display-modules",
"profile": "webpack --mode production --profile --json > stats.json",
"watch": "webpack --mode none --watch --info-verbosity verbose --display-modules"
},
"devDependencies": {
"@types/node": "^8.10.43",
"@types/request": "^2.48.1",
"@types/ssh2": "^0.5.35",
"@types/webpack": "^4.4.25",
"@types/winreg": "^1.2.30",
"clean-webpack-plugin": "^2.0.0",
"ts-loader": "^5.3.3",
"typescript": "^3.4.3",
"vscode": "^1.1.33",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3"
},
"dependencies": {
"event-stream": "^3.3.4",
"jsonc-parser": "^2.0.0",
"socks": "^2.2.0",
"ssh2": "^0.8.2",
"winreg": "^1.2.4"
}
}