vscode-azurefunctions/package.json

237 строки
8.5 KiB
JSON
Исходник Обычный вид История

{
"name": "vscode-azurefunctions",
"displayName": "Azure Functions",
2017-10-02 19:32:53 +03:00
"description": "%extension.description%",
"version": "0.1.0",
"publisher": "ms-azuretools",
2017-09-27 19:31:25 +03:00
"icon": "resources/azure-functions.png",
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
"engines": {
2017-09-23 18:34:42 +03:00
"vscode": "^1.17.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-azurefunctions"
},
"galleryBanner": {
"color": "#0072c6",
"theme": "dark"
},
"homepage": "https://github.com/Microsoft/vscode-azurefunctions/blob/master/README.md",
"license": "SEE LICENSE IN LICENSE.md",
"categories": [
"Azure"
],
"preview": true,
"activationEvents": [
"onCommand:azureFunctions.refresh",
"onCommand:azureFunctions.createNewProject",
2017-09-22 21:44:35 +03:00
"onCommand:azureFunctions.createFunction",
"onCommand:azureFunctions.openInPortal",
"onCommand:azureFunctions.startFunctionApp",
"onCommand:azureFunctions.stopFunctionApp",
"onCommand:azureFunctions.restartFunctionApp",
"onCommand:azureFunctions.deployZip",
"onView:azureFunctionsExplorer"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "azureFunctions.refresh",
2017-10-02 19:32:53 +03:00
"title": "%azFunc.refresh%",
"category": "Azure Functions",
"icon": {
"light": "resources/light/Refresh.svg",
"dark": "resources/dark/Refresh.svg"
}
},
{
"command": "azureFunctions.createNewProject",
"title": "%azFunc.createNewProject%",
"category": "Azure Functions",
"icon": {
"light": "resources/light/CreateNewProject.svg",
"dark": "resources/dark/CreateNewProject.svg"
}
},
{
"command": "azureFunctions.createFunction",
2017-10-02 19:32:53 +03:00
"title": "%azFunc.createFunction%",
"category": "Azure Functions",
"icon": {
"light": "resources/light/AddFunction.svg",
"dark": "resources/dark/AddFunction.svg"
}
},
{
"command": "azureFunctions.openInPortal",
2017-10-02 19:32:53 +03:00
"title": "%azFunc.openInPortal%",
"category": "Azure Functions"
2017-09-22 21:44:35 +03:00
},
{
"command": "azureFunctions.startFunctionApp",
2017-10-02 19:32:53 +03:00
"title": "%azFunc.startFunctionApp%",
2017-09-22 21:44:35 +03:00
"category": "Azure Functions"
},
{
"command": "azureFunctions.stopFunctionApp",
2017-10-02 19:32:53 +03:00
"title": "%azFunc.stopFunctionApp%",
2017-09-22 21:44:35 +03:00
"category": "Azure Functions"
},
{
"command": "azureFunctions.restartFunctionApp",
2017-10-02 19:32:53 +03:00
"title": "%azFunc.restartFunctionApp%",
2017-09-22 21:44:35 +03:00
"category": "Azure Functions"
},
{
"command": "azureFunctions.deployZip",
"title": "%azFunc.deployZip%",
"category": "Azure Functions"
},
{
"command": "azureFunctions.deployZipFromExplorer",
"title": "%azFunc.deployZipFromExplorer%",
"category": "Azure Functions"
},
{
"command": "azureFunctions.deployZipFromFolder",
"title": "%azFunc.deployZipFromFolder%",
"category": "Azure Functions"
}
],
"views": {
"explorer": [
{
"id": "azureFunctionsExplorer",
2017-10-04 19:52:07 +03:00
"name": "Functions",
"when": "config.azureFunctions.showExplorer == true"
}
]
},
"menus": {
"view/title": [
{
"command": "azureFunctions.createNewProject",
"when": "view == azureFunctionsExplorer",
"group": "navigation@1"
},
{
"command": "azureFunctions.createFunction",
"when": "view == azureFunctionsExplorer",
"group": "navigation@2"
},
{
"command": "azureFunctions.refresh",
"when": "view == azureFunctionsExplorer",
"group": "navigation@3"
}
],
"view/item/context": [
{
"command": "azureFunctions.refresh",
"when": "view == azureFunctionsExplorer && viewItem == azureFunctionsSubscription",
2017-09-22 21:44:35 +03:00
"group": "1_subscriptionGeneralCommands@1"
},
{
"command": "azureFunctions.openInPortal",
"when": "view == azureFunctionsExplorer && viewItem == azureFunctionsFunctionApp",
2017-09-22 21:44:35 +03:00
"group": "1_functionAppGeneralCommands@1"
},
{
"command": "azureFunctions.startFunctionApp",
"when": "view == azureFunctionsExplorer && viewItem == azureFunctionsFunctionApp",
"group": "2_functionAppControlCommands@1"
},
{
"command": "azureFunctions.stopFunctionApp",
"when": "view == azureFunctionsExplorer && viewItem == azureFunctionsFunctionApp",
"group": "2_functionAppControlCommands@2"
},
{
"command": "azureFunctions.restartFunctionApp",
"when": "view == azureFunctionsExplorer && viewItem == azureFunctionsFunctionApp",
"group": "2_functionAppControlCommands@3"
},
{
"command": "azureFunctions.deployZipFromExplorer",
"when": "view == azureFunctionsExplorer && viewItem == azureFunctionsFunctionApp",
"group": "3_functionAppDeployCommands@1"
}
],
"explorer/context": [
{
"command": "azureFunctions.deployZipFromFolder",
"when": "explorerResourceIsFolder == true",
"group": "zzz_@1"
}
],
"commandPalette": [
{
"command": "azureFunctions.deployZipFromExplorer",
"when": "never"
},
{
"command": "azureFunctions.deployZipFromFolder",
"when": "never"
}
]
2017-09-27 20:45:48 +03:00
},
"jsonValidation": [
{
"fileMatch": "/function.json",
"url": "http://json.schemastore.org/function"
},
{
"fileMatch": "/host.json",
"url": "http://json.schemastore.org/host"
},
{
"fileMatch": "/proxies.json",
"url": "http://json.schemastore.org/proxies"
}
2017-10-04 19:52:07 +03:00
],
"configuration": [
{
"title": "Azure Functions",
"properties": {
"azureFunctions.showExplorer": {
"type": "boolean",
"default": true,
"description": "%azFunc.showExplorerDescription%"
}
}
}
2017-09-27 20:45:48 +03:00
]
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"lint": "tslint --project tsconfig.json -e src/*.d.ts --type-check -t verbose",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/node": "^8.0.28",
"mocha": "^2.3.3",
"tslint": "^5.7.0",
"tslint-microsoft-contrib": "5.0.1",
"typescript": "^2.0.3",
"vscode": "^1.0.0"
},
"dependencies": {
"azure-arm-resource": "^2.0.0-preview",
"azure-arm-website": "^1.0.0-preview",
"ms-rest": "^2.2.2",
"ms-rest-azure": "^2.3.1",
"opn": "^5.1.0",
2017-10-02 19:32:53 +03:00
"vscode-extension-telemetry": "^0.0.6",
"vscode-nls": "^2.0.2",
"vscode-azureappservice": "^0.1.1"
},
"extensionDependencies": [
"ms-vscode.azure-account"
]
}