vscode-xml/package.json

141 lines
4.2 KiB
JSON
Raw Normal View History

2015-11-22 05:47:45 +00:00
{
"name": "xml",
"displayName": "XML Tools",
"description": "XML Formatting, XQuery, and XPath Tools for Visual Studio Code",
2016-06-07 22:14:39 +01:00
"version": "1.6.0",
2015-11-22 05:47:45 +00:00
"publisher": "DotJoshJohnson",
"author": {
2016-01-19 14:39:02 +00:00
"name": "TrueCommerce",
"url": "https://github.com/TrueCommerce"
2015-11-22 05:47:45 +00:00
},
"icon": "resources/icon.png",
"galleryBanner": {
2016-01-19 21:34:34 +00:00
"color": "#FFFFFF",
"theme": "light"
2015-11-22 05:47:45 +00:00
},
2016-01-19 22:48:45 +00:00
"homepage": "https://github.com/TrueCommerce/vscode-xml/wiki",
2015-11-22 05:47:45 +00:00
"repository": {
"type": "git",
2016-01-19 22:48:45 +00:00
"url": "https://github.com/TrueCommerce/vscode-xml/wiki"
2015-11-22 05:47:45 +00:00
},
"bugs": {
2016-01-19 22:48:45 +00:00
"url": "https://github.com/TrueCommerce/vscode-xml/wiki"
2015-11-22 05:47:45 +00:00
},
"engines": {
2016-02-14 05:12:51 +00:00
"vscode": "^0.10.7",
"node": "^0.12.0"
2015-11-22 05:47:45 +00:00
},
"categories": [
"Languages",
"Linters",
"Other",
"Formatters"
2015-11-22 05:47:45 +00:00
],
"main": "./src/Extension",
2015-11-22 06:45:50 +00:00
"contributes": {
"commands": [
2015-11-22 07:37:00 +00:00
{
"command": "xmlTools.minifyXml",
"title": "XML Tools: Minify XML"
2015-11-22 08:13:11 +00:00
},
{
"command": "xmlTools.evaluateXPath",
2015-11-22 08:13:11 +00:00
"title": "XML Tools: Evaluate XPath"
2016-01-08 17:35:50 +00:00
},
{
"command": "xmlTools.executeXQuery",
"title": "XML Tools: Execute XQuery"
2016-02-16 23:42:23 +00:00
},
{
"command": "xmlTools.viewXmlTree",
"title": "XML Tools: View XML Tree"
2016-01-08 17:35:50 +00:00
}
2015-11-24 17:43:25 +00:00
],
2016-01-04 16:07:36 +00:00
"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."
},
"xmlTools.splitXmlnsOnFormat": {
"type": "boolean",
"default": true,
"description": "Put each xmlns attribute on a new line when fromatting XML."
2016-01-08 17:35:50 +00:00
},
"xmlTools.xqueryExecutionEngine": {
"type": "string",
"default": "",
"description": "The full path to the execution engine executable."
},
"xmlTools.xqueryExecutionArguments": {
"type": "array",
"default": ["-xquery", "$(script)", "-in", "$(input)", "-out", "$(input).output.xml"],
"description": "Arguments to be passed to the execution engine. '$(script)' and '$(input)' refer to the XQuery script and input XML file, respectively."
2016-01-18 13:53:42 +00:00
},
"xmlTools.ignoreDefaultNamespace": {
"type": "boolean",
"default": true,
"description": "Ignores default xmlns attribute when evaluating XPath."
2016-01-04 16:07:36 +00:00
}
}
},
2015-11-24 17:43:25 +00:00
"keybindings": [
{
"key": "ctrl+shift+alt+b",
"command": "xmlTools.formatXml"
2015-11-24 17:43:25 +00:00
},
{
"key": "ctrl+shift+alt+x",
"command": "xmlTools.evaluateXPath"
2015-11-24 17:43:25 +00:00
}
],
"languages": [
{
"id": "xquery",
"aliases": ["XQuery", "xquery"],
"extensions": [".xq",".xql",".xqm",".xqy",".xquery"],
"configuration": "./languages/xquery/xquery.json"
}
],
"grammars": [
{
"language": "xquery",
"scopeName": "source.xquery",
"path": "./languages/xquery/xquery.tmLanguage"
}
]
2015-11-22 06:45:50 +00:00
},
2015-11-22 05:47:45 +00:00
"activationEvents": [
"onLanguage:xml",
"onLanguage:xsl",
2016-01-18 20:59:58 +00:00
"onLanguage:xquery",
"onCommand:xmlTools.minifyXml",
"onCommand:xmlTools.evaluateXPath",
2016-02-16 23:42:23 +00:00
"onCommand:xmlTools.executeXQuery",
"onCommand:xmlTools.viewXmlTree"
2015-11-22 05:47:45 +00:00
],
"devDependencies": {
"vscode": "^0.11.8",
2016-01-13 23:01:51 +00:00
"typescript": "^1.6.2",
"gulp": "^3.9.0",
"gulp-shell": "^0.5.1"
2015-11-22 05:47:45 +00:00
},
"dependencies": {
2016-01-30 19:57:17 +00:00
"xmldom": "^0.1.22",
"xpath": "^0.0.9",
"xqlint": "^0.2.9"
},
"scripts": {
2016-02-14 05:12:51 +00:00
"vscode:prepublish": "tsc",
"postinstall": "node ./node_modules/vscode/bin/install"
}
2016-01-30 17:51:23 +00:00
}