Files
vscode-extension-samples/tree-view-sample/package.json

243 lines
5.0 KiB
JSON
Raw Normal View History

2016-11-16 09:33:20 -08:00
{
2017-06-02 14:29:35 +02:00
"name": "custom-view-samples",
"displayName": "Custom view Samples",
"description": "Samples for VSCode's view API",
2016-12-30 11:01:43 +01:00
"version": "0.0.1",
"publisher": "vscode-samples",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-extension-samples"
},
2016-12-30 11:01:43 +01:00
"engines": {
"vscode": "^1.74.0"
2016-12-30 11:01:43 +01:00
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:json",
"onLanguage:jsonc"
2016-12-30 11:01:43 +01:00
],
2018-12-17 10:21:13 -08:00
"main": "./out/extension.js",
2016-12-30 11:01:43 +01:00
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "package-explorer",
"title": "Package Explorer",
"icon": "media/dep.svg"
}
]
},
"views": {
"package-explorer": [
{
"id": "nodeDependencies",
"name": "Node Dependencies",
"icon": "media/dep.svg",
"contextualTitle": "Package Explorer"
2018-05-09 15:04:51 +02:00
}
],
"explorer": [
{
"id": "jsonOutline",
2017-06-26 16:03:26 +02:00
"name": "Json Outline",
"when": "jsonOutlineEnabled"
2017-05-29 20:45:52 +02:00
},
{
"id": "ftpExplorer",
"name": "FTP Explorer"
2018-07-24 15:04:52 +02:00
},
{
"id": "fileExplorer",
"name": "File Explorer"
2018-10-29 19:09:34 +01:00
},
{
"id": "testView",
"name": "Test View"
},
{
"id": "testViewDragAndDrop",
"name": "Test View Drag and Drop"
}
]
2017-05-29 20:29:00 +02:00
},
"commands": [
2018-11-19 12:24:41 +01:00
{
"command": "nodeDependencies.refreshEntry",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
2017-05-29 20:29:00 +02:00
{
2017-06-02 16:37:14 +02:00
"command": "nodeDependencies.addEntry",
2017-05-29 20:29:00 +02:00
"title": "Add"
},
2018-11-19 12:17:11 +01:00
{
"command": "nodeDependencies.editEntry",
"title": "Edit",
"icon": {
2018-11-19 12:24:41 +01:00
"light": "resources/light/edit.svg",
2018-11-19 12:17:11 +01:00
"dark": "resources/dark/edit.svg"
}
},
2017-05-29 20:29:00 +02:00
{
2017-06-02 16:37:14 +02:00
"command": "nodeDependencies.deleteEntry",
2017-05-29 20:29:00 +02:00
"title": "Delete"
2017-05-29 20:45:52 +02:00
},
2018-02-09 18:54:42 +01:00
{
"command": "ftpExplorer.refresh",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
2017-05-29 20:45:52 +02:00
{
"command": "ftpExplorer.openFtpResource",
2017-05-29 20:45:52 +02:00
"title": "Open FTP Resource"
2017-12-03 19:10:18 +01:00
},
{
"command": "ftpExplorer.revealResource",
"title": "Reveal in FTP View"
},
2017-12-03 19:10:18 +01:00
{
"command": "jsonOutline.refresh",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
2017-12-03 19:46:09 +01:00
},
{
"command": "jsonOutline.refreshNode",
2018-01-15 18:59:41 +01:00
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
2017-12-03 19:46:09 +01:00
},
{
"command": "jsonOutline.renameNode",
"title": "Rename"
2018-07-24 15:04:52 +02:00
},
{
"command": "fileExplorer.refreshFile",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "fileExplorer.openFile",
"title": "Open File"
2018-10-29 19:09:34 +01:00
},
{
"command": "testView.reveal",
2018-11-19 12:17:11 +01:00
"title": "Test View: Reveal"
2019-10-09 17:29:14 +02:00
},
{
"command": "testView.changeTitle",
"title": "Test View: Change Title"
2017-05-29 20:29:00 +02:00
}
],
"menus": {
"commandPalette": [
{
"command": "ftpExplorer.revealResource"
}
],
2017-05-29 20:29:00 +02:00
"view/title": [
{
2017-06-02 16:37:14 +02:00
"command": "nodeDependencies.refreshEntry",
"when": "view == nodeDependencies",
2017-05-29 20:29:00 +02:00
"group": "navigation"
},
2022-08-11 15:09:53 +02:00
{
"command": "jsonOutline.renameNode",
"when": "view == jsonOutline"
},
2017-05-29 20:29:00 +02:00
{
2017-06-02 16:37:14 +02:00
"command": "nodeDependencies.addEntry",
"when": "view == nodeDependencies"
2018-02-09 18:54:42 +01:00
},
2018-11-19 12:24:41 +01:00
{
"command": "jsonOutline.refresh",
"when": "view == jsonOutline",
"group": "navigation"
},
2018-02-09 18:54:42 +01:00
{
"command": "ftpExplorer.refresh",
"when": "view == ftpExplorer",
"group": "navigation"
2017-05-29 20:29:00 +02:00
}
],
"view/item/context": [
2018-11-19 12:17:11 +01:00
{
"command": "nodeDependencies.editEntry",
"when": "view == nodeDependencies && viewItem == dependency",
"group": "inline"
},
2018-11-19 12:24:41 +01:00
{
"command": "nodeDependencies.deleteEntry",
2018-11-19 12:24:56 +01:00
"when": "view == nodeDependencies && viewItem == dependency"
2018-11-19 12:24:41 +01:00
},
2017-12-03 19:46:09 +01:00
{
"command": "jsonOutline.renameNode",
"when": "view == jsonOutline"
},
{
"command": "jsonOutline.refreshNode",
2018-01-15 18:59:41 +01:00
"when": "view == jsonOutline",
"group": "inline"
2018-07-24 15:04:52 +02:00
},
{
"command": "fileExplorer.refreshFile",
"when": "view == fileExplorer && viewItem == file",
"group": "inline"
2017-05-29 20:29:00 +02:00
}
]
2017-12-03 19:46:09 +01:00
},
"configuration": [
{
"title": "JSON Outline",
"properties": {
"jsonOutline.autorefresh": {
"type": "boolean",
2017-12-03 21:19:06 +01:00
"default": false
2017-12-03 19:46:09 +01:00
}
}
}
]
2016-12-30 11:01:43 +01:00
},
"scripts": {
2018-10-26 11:53:42 +02:00
"vscode:prepublish": "npm run compile",
2019-05-30 18:28:15 -07:00
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint \"src/**/*.ts\""
2016-12-30 11:01:43 +01:00
},
"devDependencies": {
2022-08-17 15:48:32 +02:00
"@types/ftp": "^0.3.33",
2018-07-24 15:04:52 +02:00
"@types/mkdirp": "^0.5.2",
"@types/node": "^18",
"@types/rimraf": "^2.0.2",
"@types/vscode": "^1.73.0",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"eslint": "^8.26.0",
2024-03-14 16:47:53 -07:00
"typescript": "^5.4.2"
},
"dependencies": {
"ftp": "^0.3.10",
"jsonc-parser": "^0.4.2",
"minimist": "^1.2.6",
2018-07-24 15:04:52 +02:00
"mkdirp": "^0.5.1",
"rimraf": "^2.6.2"
2016-12-30 11:01:43 +01:00
}
}