-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
284 lines (284 loc) · 10.8 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
{
"name": "remotefs",
"displayName": "Remote FS",
"description": "Working with any file in everywhere like they are in local with vscdoe.",
"version": "0.0.16",
"publisher": "liximomo",
"author": "liximomo <liximomo@gmail.com> (https://liximomo.github.io/)",
"engines": {
"vscode": "^1.23.0"
},
"bugs": {
"url": "https://github.com/liximomo/vscode-remote-fs/issues",
"email": "liximomo@gmail.com"
},
"homepage": "https://github.com/liximomo/vscode-remote-fs/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/liximomo/vscode-remote-fs.git"
},
"categories": [
"Other"
],
"keywords": [
"ssh",
"ftp",
"sftp",
"filesystem",
"remote"
],
"activationEvents": [
"onFileSystem:sftp",
"onFileSystem:ftp",
"onCommand:remotefs.addFolderToWorkspace"
],
"icon": "icon.png",
"main": "./out/src/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "remote-fs configuration",
"properties": {
"remotefs.rootLabel": {
"type": "string",
"description": "label for the root folder.\n- `${folderName}`: name of the workspace folder the file is contained in (e.g. myFolder).\n- `${name}`: name of the remote.",
"default": "${folderName} — (Remote)"
},
"remotefs.remote": {
"type": "object",
"description": "remote config (key as name, value as config)",
"patternProperties": {
".*": {
"oneOf": [
{
"type": "object",
"properties": {
"scheme": {
"enum": [
"sftp"
],
"description": "File system scheme."
},
"rootPath": {
"type": "string",
"description": "An absolute path on remote. This will be the root path of remote file system",
"default": "/"
},
"host": {
"type": "string",
"description": "Hostname or IP address of the server.",
"default": "host"
},
"port": {
"type": "number",
"description": "Port number of the server.",
"default": 22
},
"username": {
"type": "string",
"description": "Username for authentication."
},
"password": {
"type": "string",
"description": "Password for password-based user authentication.",
"default": ""
},
"connectTimeout": {
"type": "number",
"description": "How long (in milliseconds) to wait for the connect to complete.",
"default": 10000
},
"agent": {
"type": "string",
"description": "Path to ssh-agent's UNIX socket for ssh-agent-based user authentication. Windows users: set to 'pageant' for authenticating with Pageant or (actual) path to a cygwin \"UNIX socket\"."
},
"privateKeyPath": {
"type": "string",
"description": "Absolute path to user private key."
},
"passphrase": {
"oneOf": [
{
"type": "string"
},
{
"enum": [
true
]
}
],
"description": "For an encrypted private key, this is the passphrase string used to decrypt it. Set to true for enable passphrase dialog. This will prevent from using cleartext passphrase in this config."
},
"interactiveAuth": {
"type": "boolean",
"description": "True to enable verifyCode dialog. Keyboard interaction authentication mechanism. For example using Google Authentication.",
"default": false
},
"algorithms": {
"type": "object",
"description": "Explicit overrides for the default transport layer algorithms used for the connection.",
"properties": {
"kex": {
"type": "array",
"items": {
"enum": [
"ecdh-sha2-nistp256",
"ecdh-sha2-nistp384",
"ecdh-sha2-nistp521",
"diffie-hellman-group-exchange-sha256",
"diffie-hellman-group14-sha1",
"diffie-hellman-group-exchange-sha1",
"diffie-hellman-group1-sha1"
]
},
"description": "Key exchange algorithms."
},
"cipher": {
"type": "array",
"items": {
"enum": [
"aes128-ctr",
"aes192-ctr",
"aes256-ctr",
"aes128-gcm",
"aes128-gcm@openssh.com",
"aes256-gcm",
"aes256-gcm@openssh.com",
"aes256-cbc",
"aes192-cbc",
"aes128-cbc",
"blowfish-cbc",
"3des-cbc",
"arcfour256",
"arcfour128",
"cast128-cbc",
"arcfour"
]
},
"description": "Ciphers."
},
"serverHostKey": {
"type": "array",
"items": {
"enum": [
"ssh-rsa",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp521",
"ssh-dss"
]
},
"description": "Server host key formats. In server mode, this list must agree with the host private keys set in the hostKeys config setting."
},
"hmac": {
"type": "array",
"items": {
"enum": [
"hmac-sha2-256",
"hmac-sha2-512",
"hmac-sha1",
"hmac-md5",
"hmac-sha2-256-96",
"hmac-sha2-512-96",
"hmac-ripemd160",
"hmac-sha1-96",
"hmac-md5-96"
]
},
"description": "(H)MAC algorithms."
}
}
}
}
},
{
"type": "object",
"properties": {
"scheme": {
"enum": [
"ftp"
],
"description": "File system scheme."
},
"rootPath": {
"type": "string",
"description": "An absolute path on remote. This will be the root path of remote file system",
"default": "/"
},
"host": {
"type": "string",
"description": "Hostname or IP address of the server.",
"default": "host"
},
"port": {
"type": "number",
"description": "Port number of the server.",
"default": 22
},
"username": {
"type": "string",
"description": "Username for authentication."
},
"password": {
"type": "string",
"description": "Password for password-based user authentication.",
"default": ""
},
"connectTimeout": {
"type": "number",
"description": "How long (in milliseconds) to wait for the connect to complete.",
"default": 10000
}
}
}
]
}
}
}
}
},
"commands": [
{
"command": "remotefs.addFolderToWorkspace",
"title": "Remote FS: Add Folder to Workspace"
}
]
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test",
"test:spec": "jest",
"package": "vsce package",
"pub:debug": "rm -rf _debug && mkdir _debug && vsce package --out _debug/debug.vsix && cd _debug && git init && git commit --allow-empty -m 'update debug package' && git checkout -b debug-pacakge && cp ../INSTALL_DEBUG.md README.md && git add . && git commit -am 'update debug package' && git push git@github.com:liximomo/vscode-remote-fs.git debug-pacakge --force",
"lint": "tslint --project tsconfig.json src/**/*.ts"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/node": "^8.7.0",
"jest": "^20.0.4",
"mocha": "^2.3.3",
"tslint": "^5.9.1",
"typescript": "^2.8.0",
"vscode": "^1.1.17"
},
"dependencies": {
"jsftp": "^2.1.3",
"p-queue": "^2.4.2",
"ssh2": "^v0.8.2",
"upath": "^1.0.0"
},
"jest": {
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.ts$": "<rootDir>/test/preprocessor.js"
},
"testMatch": [
"**/test/*.spec.js"
]
}
}