285 строки
8.7 KiB
JSON
285 строки
8.7 KiB
JSON
{
|
|
"name": "vscode-iot-workbench",
|
|
"displayName": "Azure IoT Device Workbench",
|
|
"description": "Integrated environment to enable easy development on IoT prototype devices (e.g. MXChip IoT DevKit, teXXmo IoT Button, ESP32 and Raspberry Pi) with multiple Azure services.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/vscode-iot-workbench.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Microsoft/vscode-iot-workbench/issues"
|
|
},
|
|
"homepage": "https://github.com/Microsoft/vscode-iot-workbench/blob/master/README.md",
|
|
"version": "0.10.10-rc",
|
|
"publisher": "vsciot-vscode",
|
|
"icon": "logo.png",
|
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
"aiKey": "5b869bc6-ca93-4f24-aa87-92871a3a616e",
|
|
"codeGenConfigUrl": "https://aka.ms/iot-codegen-cli-for-workbench-staging",
|
|
"graphUrl": "https://aka.ms/iot-pnp-graph-staging",
|
|
"interfaceUrl": "https://aka.ms/iot-pnp-interface-staging",
|
|
"capabilityModelUrl": "https://aka.ms/iot-pnp-capability-model-staging",
|
|
"iotModelUrl": "https://aka.ms/iot-pnp-iot-model-staging",
|
|
"engines": {
|
|
"vscode": "^1.30.0"
|
|
},
|
|
"categories": [
|
|
"Azure",
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"*",
|
|
"workspaceContains:**/.iotworkbenchproject",
|
|
"onCommand:iotworkbench.initializeProject",
|
|
"onCommand:iotworkbench.examples",
|
|
"onCommand:iotworkbench.help",
|
|
"onCommand:iotworkbench.workbench",
|
|
"onCommand:iotworkbench.deviceCompile",
|
|
"onCommand:iotworkbench.deviceUpload",
|
|
"onCommand:iotworkbench.azureProvision",
|
|
"onCommand:iotworkbench.azureDeploy",
|
|
"onCommand:iotworkbench.configureDevice",
|
|
"onCommand:iotworkbench.installToolchain",
|
|
"onCommand:iotworkbench.testexample"
|
|
],
|
|
"main": "./out/src/extension",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "iotworkbench.initializeProject",
|
|
"title": "Create Project...",
|
|
"category": "Azure IoT Device Workbench"
|
|
},
|
|
{
|
|
"command": "iotworkbench.examples",
|
|
"title": "Open Examples...",
|
|
"category": "Azure IoT Device Workbench"
|
|
},
|
|
{
|
|
"command": "iotworkbench.help",
|
|
"title": "Help",
|
|
"category": "Azure IoT Device Workbench"
|
|
},
|
|
{
|
|
"command": "iotworkbench.workbench",
|
|
"title": "Set Project Default Path...",
|
|
"category": "Azure IoT Device Workbench"
|
|
},
|
|
{
|
|
"command": "iotworkbench.deviceCompile",
|
|
"title": "Compile Device Code",
|
|
"category": "Azure IoT Device Workbench"
|
|
},
|
|
{
|
|
"command": "iotworkbench.deviceUpload",
|
|
"title": "Upload Device Code",
|
|
"category": "Azure IoT Device Workbench"
|
|
},
|
|
{
|
|
"command": "iotworkbench.azureProvision",
|
|
"title": "Provision Azure Services...",
|
|
"category": "Azure IoT Device Workbench"
|
|
},
|
|
{
|
|
"command": "iotworkbench.azureDeploy",
|
|
"title": "Deploy to Azure...",
|
|
"category": "Azure IoT Device Workbench"
|
|
},
|
|
{
|
|
"command": "iotworkbench.configureDevice",
|
|
"title": "Configure Device Settings...",
|
|
"category": "Azure IoT Device Workbench"
|
|
},
|
|
{
|
|
"command": "iotworkbench.installToolchain",
|
|
"title": "Install Device Compiler Toolchain...",
|
|
"category": "Azure IoT Device Workbench"
|
|
},
|
|
{
|
|
"command": "iotworkbench.iotPnPOpenRepository",
|
|
"title": "Open Model Repository...",
|
|
"category": "IoT Plug and Play"
|
|
},
|
|
{
|
|
"command": "iotworkbench.iotPnPSignOutRepository",
|
|
"title": "Sign out Model Repository",
|
|
"category": "IoT Plug and Play"
|
|
},
|
|
{
|
|
"command": "iotworkbench.iotPnPCreateInterface",
|
|
"title": "Create Interface...",
|
|
"category": "IoT Plug and Play"
|
|
},
|
|
{
|
|
"command": "iotworkbench.iotPnPCreateCapabilityModel",
|
|
"title": "Create Capability Model...",
|
|
"category": "IoT Plug and Play"
|
|
},
|
|
{
|
|
"command": "iotworkbench.iotPnPSubmitFile",
|
|
"title": "Submit files to Model Repository...",
|
|
"category": "IoT Plug and Play"
|
|
},
|
|
{
|
|
"command": "iotworkbench.iotPnPGenerateCode",
|
|
"title": "Generate Device Code Stub...",
|
|
"category": "IoT Plug and Play"
|
|
}
|
|
],
|
|
"configuration": [
|
|
{
|
|
"title": "Azure Functions Configuration",
|
|
"properties": {
|
|
"arduino.additionalUrls": {
|
|
"type": [
|
|
"string",
|
|
"array"
|
|
]
|
|
},
|
|
"azureFunctions.projectRuntime": {
|
|
"scope": "resource"
|
|
},
|
|
"azureFunctions.projectLanguage": {
|
|
"scope": "resource"
|
|
},
|
|
"azureFunctions.templateFilter": {
|
|
"scope": "resource"
|
|
},
|
|
"azureFunctions.deploySubpath": {
|
|
"scope": "resource"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "IoT Device Workbench Configuration",
|
|
"properties": {
|
|
"IoTWorkbench.workbench": {
|
|
"type": "string"
|
|
},
|
|
"IoTWorkbench.DevicePath": {
|
|
"type": "string"
|
|
},
|
|
"IoTWorkbench.FunctionPath": {
|
|
"type": "string"
|
|
},
|
|
"IoTWorkbench.iothubConnectionString": {
|
|
"type": "string"
|
|
},
|
|
"IoTWorkbench.iothubDeviceConnectionString": {
|
|
"type": "string"
|
|
},
|
|
"IoTWorkbench.eventHubConnectionString": {
|
|
"type": "string"
|
|
},
|
|
"IoTWorkbench.eventHubConnectionPath": {
|
|
"type": "string"
|
|
},
|
|
"IoTWorkbench.functionAppId": {
|
|
"type": "string"
|
|
},
|
|
"IoTWorkbench.disableAutoPopupLandingPage": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"IoTWorkbench.BoardId": {
|
|
"type": "string"
|
|
},
|
|
"IoTWorkbench.ShownHelpPage": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"IoTWorkbench.IoTPnPCodeGenVersion": {
|
|
"type": "string"
|
|
},
|
|
"IoTWorkbench.IoTPnPPublicRepositoryUrl": {
|
|
"type": "string",
|
|
"default": "https://repo.azureiotrepository.com"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"jsonValidation": [
|
|
{
|
|
"fileMatch": "**/*.interface.json",
|
|
"url": "./resources/templates/devicemodel/EmptySchema.json"
|
|
},
|
|
{
|
|
"fileMatch": "**/*.capabilitymodel.json",
|
|
"url": "./resources/templates/devicemodel/EmptySchema.json"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile && webpack --mode production",
|
|
"compile": "tsc -p ./ && node copyVendor.js",
|
|
"watch": "tsc -watch -p ./ && node copyVendor.js",
|
|
"postinstall": "node ./node_modules/vscode/bin/install",
|
|
"test": "npm run compile && node ./node_modules/vscode/bin/test",
|
|
"check": "gts check",
|
|
"clean": "gts clean",
|
|
"fix": "gts fix",
|
|
"prepare": "npm run compile",
|
|
"pretest": "npm run compile",
|
|
"posttest": "npm run check",
|
|
"update:package": "rm -rf node_modules && npm update --save-dev && npm update --save"
|
|
},
|
|
"devDependencies": {
|
|
"@types/adm-zip": "^0.4.31",
|
|
"@types/copy-paste": "1.1.30",
|
|
"@types/crc": "^3.4.0",
|
|
"@types/extract-zip": "^1.6.2",
|
|
"@types/fs-plus": "^3.0.0",
|
|
"@types/keytar": "^4.4.0",
|
|
"@types/lodash.filter": "^4.6.6",
|
|
"@types/lodash.foreach": "^4.5.6",
|
|
"@types/lodash.trimstart": "^4.5.6",
|
|
"@types/lodash.uniq": "^4.5.4",
|
|
"@types/mocha": "^2.2.42",
|
|
"@types/node": "^10.1.4",
|
|
"@types/opn": "3.0.28",
|
|
"@types/request-promise": "^4.1.39",
|
|
"@types/ssh2": "^0.5.35",
|
|
"@types/unzip": "^0.1.0",
|
|
"@types/winreg": "^1.2.30",
|
|
"gts": "^0.5.1",
|
|
"typescript": "^2.6.2",
|
|
"vscode": "^1.1.33",
|
|
"webpack": "^4.30.0",
|
|
"webpack-cli": "^3.3.6"
|
|
},
|
|
"dependencies": {
|
|
"adm-zip": "^0.4.11",
|
|
"azure-arm-resource": "^3.1.0-preview",
|
|
"azure-arm-website": "^3.0.0-preview",
|
|
"azure-iothub": "^1.9.4",
|
|
"copy-paste": "1.3.0",
|
|
"crc": "^3.8.0",
|
|
"eventemitter2": "^5.0.0",
|
|
"extract-zip": "^1.6.7",
|
|
"fs-plus": "^3.1.1",
|
|
"getmac": "^1.2.1",
|
|
"glob": "^7.1.3",
|
|
"guid-typescript": "^1.0.7",
|
|
"impor": "^0.1.1",
|
|
"lodash.filter": "^4.6.0",
|
|
"lodash.foreach": "^4.5.0",
|
|
"lodash.trimstart": "^4.5.1",
|
|
"lodash.uniq": "^4.5.0",
|
|
"ms-rest": "^2.5.3",
|
|
"ms-rest-azure": "^3.0.0",
|
|
"opn": "5.1.0",
|
|
"request": "^2.83.0",
|
|
"request-promise": "^4.2.2",
|
|
"ssh2": "^0.6.1",
|
|
"vscode-express": "^1.0.1",
|
|
"vscode-extension-telemetry": "^0.1.0",
|
|
"vscode-iot-device-cube-sdk": "^0.0.20",
|
|
"winreg": "^1.2.3",
|
|
"keytar": "^4.4.0"
|
|
},
|
|
"extensionDependencies": [
|
|
"vsciot-vscode.azure-iot-toolkit",
|
|
"vsciot-vscode.vscode-iot-device-cube"
|
|
]
|
|
}
|