vscode-xml/package.json

86 lines
2.0 KiB
JSON

{
"name": "xml",
"displayName": "XML Tools",
"description": "XML Formatting and XPath Tools for Visual Studio Code",
"version": "1.0.0",
"publisher": "DotJoshJohnson",
"author": {
"name": "Josh Johnson",
"url": "https://github.com/DotJoshJohnson"
},
"icon": "resources/icon.png",
"galleryBanner": {
"color": "#3B4859",
"theme": "dark"
},
"homepage": "https://github.com/DotJoshJohnson/vscode-xml",
"repository": {
"type": "git",
"url": "https://github.com/DotJoshJohnson/vscode-xml.git"
},
"bugs": {
"url": "https://github.com/DotJoshJohnson/vscode-xml/issues"
},
"engines": {
"vscode": "^0.10.6",
"node": "*"
},
"categories": [
"Languages",
"Other"
],
"main": "./src/Extension",
"contributes": {
"commands": [
{
"command": "xmlTools.formatXml",
"title": "XML Tools: Format XML"
},
{
"command": "xmlTools.minifyXml",
"title": "XML Tools: Minify XML"
},
{
"command": "xmlTools.evaluateXPath",
"title": "XML Tools: Evaluate XPath"
}
],
"configuration": {
"title": "XML Tools Configuration",
"type": "object",
"properties": {
"xmlTools.persistXPathQuery": {
"type": "boolean",
"default": true,
"description": "Remember the last XPath query used."
},
"xmlTools.removeCommentsOnMinify": {
"type": "boolean",
"default": false,
"description": "Remove XML comments when XML is minified."
}
}
},
"keybindings": [
{
"key": "ctrl+shift+alt+b",
"command": "xmlTools.formatXml"
},
{
"key": "ctrl+shift+alt+x",
"command": "xmlTools.evaluateXPath"
}
]
},
"activationEvents": [
"onLanguage:xml"
],
"devDependencies": {
"vscode": "^0.10.7",
"typescript": "^1.6.2"
},
"dependencies": {
"xmldom": "^0.1.19",
"xpath": "^0.0.9"
}
}