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

88 lines
1.7 KiB
JSON
Raw Normal View History

2016-11-16 09:33:20 -08:00
{
2016-12-30 11:01:43 +01:00
"name": "dep",
"displayName": "Dependency Example",
"description": "Dependency example for VSCode's explorer API",
"version": "0.0.1",
"publisher": "octref",
"engines": {
"vscode": "^1.12.0"
2016-12-30 11:01:43 +01:00
},
"enableProposedApi": true,
"categories": [
"Other"
],
"activationEvents": [
"onView:nodeDependencies",
"onView:jsonOutline"
2016-12-30 11:01:43 +01:00
],
"main": "./out/src/extension",
"icon": "media/dep.png",
"contributes": {
"views": {
"explorer": [
{
"id": "nodeDependencies",
"name": "Node Dependencies"
},
{
"id": "jsonOutline",
"name": "Json Outline"
}
]
2017-05-29 20:29:00 +02:00
},
"commands": [
{
"command": "jsonOutline.addEntry",
"title": "Add"
},
{
"command": "jsonOutline.refreshEntry",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "jsonOutline.deleteEntry",
"title": "Delete"
}
],
"menus": {
"view/title": [
{
"command": "jsonOutline.refreshEntry",
"when": "view == jsonOutline",
"group": "navigation"
},
{
"command": "jsonOutline.addEntry",
"when": "view == jsonOutline"
}
],
"view/item/context": [
{
"command": "jsonOutline.deleteEntry",
"when": "view == jsonOutline && viewItem == array"
},
{
"command": "jsonOutline.deleteEntry",
"when": "view == jsonOutline && viewItem == object"
}
]
2016-12-30 11:01:43 +01:00
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
2016-12-30 18:35:00 +01:00
"postinstall": "node ./node_modules/vscode/bin/install"
2016-12-30 11:01:43 +01:00
},
"devDependencies": {
2016-12-30 11:17:41 +01:00
"typescript": "^2.1.4",
2016-12-30 11:01:43 +01:00
"vscode": "^1.0.0",
"@types/node": "*"
},
"dependencies": {
"jsonc-parser": "^0.4.2"
2016-12-30 11:01:43 +01:00
}
}