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

250 lines
8.2 KiB

{
"name": "vscode-sshfs",
"displayName": "SSH FS",
"description": "File system provider using SSH",
"publisher": "Kelvin",
4 years ago
"version": "1.18.0",
"engines": {
"vscode": "^1.46.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onFileSystem:ssh",
"onFileSystemAccess:ssh",
"onView:sshfs-configs",
7 years ago
"onCommand:sshfs.new",
"onCommand:sshfs.connect",
"onCommand:sshfs.reconnect",
"onCommand:sshfs.disconnect",
"onCommand:sshfs.configure",
"onCommand:sshfs.reload",
"onCommand:sshfs.settings"
],
"main": "./dist/extension.js",
"author": {
"name": "Kelvin Schoofs",
"email": "schoofs.kelvin@gmail.com",
"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": "GPL-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.terminal",
"title": "Open a remote SSH terminal",
"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"
}
],
"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.terminal",
"group": "SSH FS@5"
},
{
"command": "sshfs.configure",
"group": "SSH FS@6"
},
{
"command": "sshfs.reload",
"group": "SSH FS@7"
},
{
"command": "sshfs.settings",
"group": "SSH FS@8"
}
],
"view/title": [
{
"command": "sshfs.new",
"when": "view == 'sshfs-configs'",
"group": "SSH FS@1"
},
{
"command": "sshfs.settings",
"when": "view == 'sshfs-configs'",
"group": "SSH FS@6"
}
],
"view/item/context": [
{
"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@2"
},
{
"command": "sshfs.disconnect",
"when": "view == 'sshfs-configs' && viewItem == active",
"group": "SSH FS@3"
},
{
"command": "sshfs.terminal",
"when": "view == 'sshfs-configs' && viewItem",
"group": "SSH FS@4"
},
{
"command": "sshfs.configure",
"when": "view == 'sshfs-configs' && viewItem",
"group": "SSH FS@5"
}
],
"explorer/context": [
{
"command": "sshfs.terminal",
"when": "explorerResourceIsFolder && resourceScheme == ssh",
"group": "navigation@30"
}
]
},
"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"
}
]
}
}
},
"taskDefinitions": [
{
"type": "ssh-shell",
"properties": {
"host": {
"type": "string",
"description": "The configuration (name) to run this task on"
},
"command": {
"type": "string",
"description": "The command to run on the server"
}
},
"required": [
"host",
"command"
]
}
]
},
"scripts": {
"vscode:prepublish": "yarn run build && cd webview && yarn 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": "^12.7.12",
"@types/request": "^2.48.1",
"@types/ssh2": "^0.5.41",
"@types/vscode": "^1.46",
"@types/webpack": "^4.4.25",
"@types/winreg": "^1.2.30",
"clean-webpack-plugin": "^2.0.0",
"source-map-support": "^0.5.19",
"ts-loader": "^7.0.5",
"typescript": "^3.9.6",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3"
},
"dependencies": {
"event-stream": "^4.0.1",
"jsonc-parser": "^2.0.0",
"socks": "^2.2.0",
"ssh2": "^0.8.9",
"winreg": "^1.2.4"
}
}