You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vscode-sshfs/package.json

174 lines
5.5 KiB

{
"name": "vscode-sshfs",
"displayName": "SSH FS",
"description": "File system provider using SSH",
"publisher": "Kelvin",
"version": "1.3.2",
"engines": {
"vscode": "^1.23.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.delete"
],
"main": "./out/extension.js",
"author": {
"name": "Kelvin Schoofs",
"email": "schoofs.kelvin@gmail.com"
},
"repository": "https://github.com/SchoofsKelvin/vscode-sshfs",
"license": "GLP-3.0",
"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.delete",
"title": "Delete configuration",
"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.delete",
"group": "SSH FS@6"
}
],
"view/item/context": [
{
"command": "sshfs.new",
"when": "view == 'sshfs-configs' && !viewItem"
},
{
"command": "sshfs.connect",
"when": "view == 'sshfs-configs' && viewItem == inactive",
"group": "SSH FS@1"
},
{
"command": "sshfs.reconnect",
"when": "view == 'sshfs-configs' && viewItem == active",
"group": "SSH FS@1"
},
{
"command": "sshfs.disconnect",
"when": "view == 'sshfs-configs' && viewItem == active",
"group": "SSH FS@2"
},
{
"command": "sshfs.configure",
"when": "view == 'sshfs-configs' && viewItem",
"group": "SSH FS@3"
},
{
"command": "sshfs.delete",
"when": "view == 'sshfs-configs' && viewItem",
"group": "SSH FS@4"
}
]
},
"configuration": {
"title": "SSH FS Configuration",
"properties": {
"sshfs.configs": {
"$schema": "http://json-schema.org/draft-06/schema#",
"$ref": "https://raw.githubusercontent.com/SchoofsKelvin/vscode-sshfs/f9940ae1ad04917eef024c45a434b6b19f166fe4/settingsschema.json",
"default": [
{
"root": "/tmp",
"host": "localhost",
"port": 22,
"username": "root",
"password": "CorrectHorseBatteryStaple"
}
]
}
}
},
"jsonValidation": [
{
"fileMatch": "*.sshfs.jsonc",
"url": "https://raw.githubusercontent.com/SchoofsKelvin/vscode-sshfs/f9940ae1ad04917eef024c45a434b6b19f166fe4/configschema.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/node": "^7.0.43",
"@types/ssh2": "^0.5.35",
"@types/winreg": "^1.2.30",
"typescript": "^2.5.2",
"vscode": "^1.1.17"
},
"dependencies": {
"jsonc-parser": "^2.0.0",
"ssh2": "^0.6.0",
"winreg": "^1.2.4"
}
}