vscode/extensions/vscode-test-resolver/package.json

136 lines
3.6 KiB
JSON
Raw Normal View History

2019-05-22 22:41:26 +08:00
{
"name": "vscode-test-resolver",
"description": "Test resolver for VS Code",
"version": "0.0.1",
"publisher": "vscode",
"license": "MIT",
2019-05-22 22:41:26 +08:00
"enableProposedApi": true,
"private": true,
"engines": {
"vscode": "^1.25.0"
},
"extensionKind": [
"ui"
],
2019-05-22 22:41:26 +08:00
"scripts": {
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
2020-09-30 19:46:44 +08:00
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:vscode-test-resolver"
2019-05-22 22:41:26 +08:00
},
"activationEvents": [
"onResolveRemoteAuthority:test",
"onCommand:vscode-testresolver.newWindow",
"onCommand:vscode-testresolver.newWindowWithError",
2021-01-19 18:45:49 +08:00
"onCommand:vscode-testresolver.showLog",
2021-01-21 21:04:04 +08:00
"onCommand:vscode-testresolver.openTunnel",
"onCommand:vscode-testresolver.startRemoteServer"
2019-05-22 22:41:26 +08:00
],
"main": "./out/extension",
"devDependencies": {
"@types/node": "^12.19.9"
2019-05-22 22:41:26 +08:00
},
"contributes": {
"resourceLabelFormatters": [
{
"scheme": "vscode-remote",
"authority": "test+*",
"formatting": {
"label": "${path}",
"separator": "/",
"tildify": true,
"workspaceSuffix": "TestResolver"
}
}
],
"commands": [
{
"title": "New Window",
"category": "Remote-TestResolver",
"command": "vscode-testresolver.newWindow"
},
{
"title": "Show Log",
"category": "Remote-TestResolver",
"command": "vscode-testresolver.showLog"
},
{
"title": "Kill Server and Trigger Handled Error",
"category": "Remote-TestResolver",
"command": "vscode-testresolver.killServerAndTriggerHandledError"
2021-01-19 18:45:49 +08:00
},
{
2021-01-21 21:04:04 +08:00
"title": "Open Tunnel...",
2021-01-19 18:45:49 +08:00
"category": "Remote-TestResolver",
"command": "vscode-testresolver.openTunnel"
2021-01-21 21:04:04 +08:00
},
{
"title": "Open Remote Server...",
"category": "Remote-TestResolver",
"command": "vscode-testresolver.startRemoteServer"
2019-05-22 22:41:26 +08:00
}
],
"menus": {
2021-01-21 21:04:04 +08:00
"commandPalette": [
{
"command": "vscode-testresolver.openTunnel",
"when": "remoteName == test"
},
{
"command": "vscode-testresolver.startRemoteServer",
"when": "remoteName == test"
}
],
2019-05-22 22:41:26 +08:00
"statusBar/windowIndicator": [
{
"command": "vscode-testresolver.newWindow",
2019-07-25 00:09:23 +08:00
"when": "!remoteName",
2019-05-22 22:41:26 +08:00
"group": "9_local_testresolver@2"
},
{
"command": "vscode-testresolver.showLog",
2019-07-25 00:09:23 +08:00
"when": "remoteName == test",
2019-05-22 22:41:26 +08:00
"group": "1_remote_testresolver_open@3"
},
{
"command": "vscode-testresolver.newWindow",
2019-07-25 00:09:23 +08:00
"when": "remoteName == test",
2019-05-22 22:41:26 +08:00
"group": "1_remote_testresolver_open@1"
2021-01-21 21:04:04 +08:00
},
{
"command": "vscode-testresolver.openTunnel",
"when": "remoteName == test",
"group": "1_remote_testresolver_open@4"
},
{
"command": "vscode-testresolver.startRemoteServer",
"when": "remoteName == test",
"group": "1_remote_testresolver_open@5"
2019-05-22 22:41:26 +08:00
}
]
},
"configuration": {
"properties": {
"testresolver.startupDelay": {
"description": "If set, the resolver will delay for the given amount of seconds. Use ths setting for testing a slow resolver",
"type": "number",
"default": 0
},
"testresolver.startupError": {
"description": "If set, the resolver will fail. Use ths setting for testing the failure of a resolver.",
"type": "boolean",
"default": false
},
"testresolver.pause": {
"description": "If set, connection is paused",
"type": "boolean",
"default": false
},
"testresolver.supportPublicPorts": {
"description": "If set, the test resolver tunnel factory will support mock public ports. Forwarded ports will not actually be public. Requires reload.",
"type": "boolean",
"default": false
}
}
2019-05-22 22:41:26 +08:00
}
}
}