mocha-vscode/package.json

278 lines
7.1 KiB
JSON

{
"name": "mocha-vscode",
"displayName": "Mocha for VSCode",
"description": "Tools for working with the Mocha Advanced Database Infrastructure platform",
"version": "0.0.1",
"publisher": "mochapowered",
"engines": {
"vscode": "^1.92.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "mocha.suvmanager.set_selected_item",
"title": "",
"category": "Mocha"
},
{
"command": "mocha.suvmanager.suv_select",
"title": "Select Preferred SUV",
"category": "Mocha"
},
{
"command": "mocha.suvmanager.suv_manager",
"title": "Manage SUVs",
"category": "Mocha"
},
{
"command": "mocha.suvmanager.suv_show",
"title": "Open SUV in Web Browser",
"shortTitle": "Show in Web",
"category": "Mocha"
},
{
"command": "mocha.suvmanager.suv_copy_id",
"title": "Copy SUV ID",
"category": "Mocha"
},
{
"command": "mocha.suvmanager.suv_up",
"title": "Start SUV",
"category": "Mocha"
},
{
"command": "mocha.suvmanager.suv_down",
"title": "Stop SUV",
"category": "Mocha"
},
{
"command": "mocha.suvmanager.suv_new",
"title": "Provision New SUV",
"category": "Mocha",
"icon": {
"light": "icons/commands/add-connection-light.svg",
"dark": "icons/commands/add-connection-dark.svg"
}
},
{
"command": "mocha.suvmanager.suv_refresh",
"title": "Refresh SUV List",
"category": "Mocha",
"icon": "$(refresh)"
},
{
"command": "mocha.add_documentation_comment",
"title": "Add Documentation Comment",
"category": "Mocha"
},
{
"command": "mocha.add_extension_qualifier",
"title": "Add Extension Qualifier",
"category": "Mocha"
},
{
"command": "mocha.zq_publish_stub_with_implementation",
"title": "Publish as ZQ stub and upload implementation",
"category": "Mocha"
},
{
"command": "mocha.zq_publish_stub",
"title": "Publish as ZQ stub method",
"category": "Mocha"
},
{
"command": "mocha.zq_import_function_implementation",
"title": "Import Function Implementation from ZQ",
"category": "Mocha"
},
{
"command": "mocha.zq_lookup_instance",
"title": "Look up ZQ Instance",
"category": "Mocha"
},
{
"command": "mocha.zq_lookup_resource",
"title": "Look up ZQ Resource",
"category": "Mocha"
},
{
"command": "mocha.zq_open_document",
"title": "Open ZQ Document",
"category": "Mocha"
},
{
"command": "mocha.zq_import_function_signature",
"title": "Import ZQ Function Signature",
"category": "Mocha"
},
{
"command": "mocha.moduleExplorer.module_import_zq_implementation",
"title": "Import ZQ Implementation",
"category": "Mocha"
},
{
"command": "mocha.moduleExplorer.module_show_in_web",
"title": "Show in Web Browser",
"category": "Mocha"
},
{
"command": "mocha.moduleExplorer.module_copy_text",
"title": "Copy Text",
"category": "Mocha"
},
{
"command": "mocha.moduleExplorer.module_copy_instance_id",
"title": "Copy Instance ID",
"category": "Mocha"
}
],
"keybindings": [
{
"command": "mocha.zq_lookup_instance",
"key": "Ctrl+O",
"when": "view == mocha.zqEditor"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "mocha",
"icon": "mocha.svg",
"title": "Mocha"
}
]
},
"customEditors": [
{
"viewType": "mocha.zqEditor",
"displayName": "Mocha ZQ Editor",
"selector": [
{
"filenamePattern": "*.zql"
}
]
}
],
"grammars": [
{
"language": "zql",
"scopeName": "source.zql",
"path": "./config/languages/zql.tmLanguage.json"
}
],
"languages": [
{
"id": "zql",
"aliases": [
"Mocha ZQL"
],
"filenamePatterns": [
"*.zql"
]
}
],
"views": {
"mocha": [
{
"id": "mocha.suvManager",
"name": "SUV Manager",
"type": "tree"
},
{
"id": "mocha.moduleExplorer",
"name": "Module Explorer",
"type": "tree"
}
]
},
"menus": {
"view/title": [
{
"command": "mocha.suvmanager.suv_new",
"when": "view == mocha.suvManager",
"group": "navigation@1"
},
{
"command": "mocha.suvmanager.suv_refresh",
"when": "view == mocha.suvManager",
"group": "navigation@1"
}
],
"view/item/context": [
{
"command": "mocha.moduleExplorer.module_import_zq_implementation",
"group": "0_view@1",
"when": "view == mocha.moduleExplorer"
},
{
"command": "mocha.moduleExplorer.module_show_in_web",
"group": "0_view@2",
"when": "view == mocha.moduleExplorer"
},
{
"command": "mocha.moduleExplorer.module_copy_text",
"group": "1_copy@1",
"when": "view == mocha.moduleExplorer"
},
{
"command": "mocha.moduleExplorer.module_copy_instance_id",
"group": "1_copy@2",
"when": "view == mocha.moduleExplorer"
},
{
"command": "mocha.suvmanager.suv_select",
"group": "0_view@1",
"when": "view == mocha.suvManager"
},
{
"command": "mocha.suvmanager.suv_show",
"group": "0_view@2",
"when": "view == mocha.suvManager"
},
{
"command": "mocha.suvmanager.suv_up",
"group": "1_control@1",
"when": "view == mocha.suvManager"
},
{
"command": "mocha.suvmanager.suv_down",
"group": "1_control@1",
"when": "view == mocha.suvManager"
},
{
"command": "mocha.suvmanager.suv_copy_id",
"group": "2_copy",
"when": "view == mocha.suvManager"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.92.0",
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"eslint": "^8.57.0",
"typescript": "^5.4.5",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0"
}
}