vscode-xml/package.json

219 lines
7.6 KiB
JSON
Raw Normal View History

2018-01-27 22:50:50 +00:00
{
"name": "xml",
"displayName": "XML Tools",
"description": "XML Formatting, XQuery, and XPath Tools for Visual Studio Code",
2018-04-29 02:26:14 +01:00
"version": "2.0.0-preview.2",
2018-03-02 02:53:00 +00:00
"preview": true,
2018-01-27 22:50:50 +00:00
"publisher": "DotJoshJohnson",
2018-01-27 23:30:50 +00:00
"author": {
2018-02-14 04:25:07 +00:00
"name": "Josh Johnson",
"url": "https://github.com/DotJoshJohnson"
2018-01-27 23:30:50 +00:00
},
"galleryBanner": {
2018-02-14 04:25:07 +00:00
"color": "#FFFFFF",
"theme": "light"
},
"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"
},
2018-01-27 22:50:50 +00:00
"engines": {
2018-04-29 05:47:12 +01:00
"vscode": "^1.22.2"
2018-01-27 22:50:50 +00:00
},
"categories": [
2018-01-27 23:30:50 +00:00
"Formatters",
"Languages",
"Linters",
2018-01-27 22:50:50 +00:00
"Other"
],
"activationEvents": [
2018-01-27 23:30:50 +00:00
"onCommand:xmlTools.evaluateXPath",
"onCommand:xmlTools.executeXQuery",
"onCommand:xmlTools.formatAsXml",
"onCommand:xmlTools.minifyXml",
"onLanguage:xml",
"onLanguage:xquery",
"onLanguage:xsl"
2018-01-27 22:50:50 +00:00
],
"main": "./out/extension",
"contributes": {
"commands": [
{
2018-01-27 23:30:50 +00:00
"command": "xmlTools.evaluateXPath",
"title": "XML Tools: Evaluate XPath"
},
{
"command": "xmlTools.executeXQuery",
"title": "XML Tools: Execute XQuery"
},
{
"command": "xmlTools.formatAsXml",
"title": "XML Tools: Format as XML"
},
{
"command": "xmlTools.minifyXml",
"title": "XML Tools: Minify XML"
}
],
"configuration": {
"title": "XML Tools Configuration",
"type": "object",
"properties": {
2018-04-28 04:10:55 +01:00
"xmlTools.enableXmlTreeView": {
"type": "boolean",
"default": true,
"description": "Enables the XML Document view in the explorer for XML documents.",
"scope": "window"
},
2018-04-29 05:47:12 +01:00
"xmlTools.enableXmlTreeViewMetadata": {
"type": "boolean",
"default": true,
"description": "Enables attribute and child element counts in the XML Document view.",
"scope": "window"
},
"xmlTools.enableXmlTreeViewCursorSync": {
"type": "boolean",
"default": true,
"description": "Enables auto-reveal of elements in the XML Document view when a start tag is clicked in the editor.",
"scope": "window"
},
2018-01-27 23:30:50 +00:00
"xmlTools.ignoreDefaultNamespace": {
"type": "boolean",
"default": true,
"description": "Ignore default xmlns attributes when evaluating XPath.",
"scope": "resource"
2018-01-27 23:30:50 +00:00
},
"xmlTools.persistXPathQuery": {
"type": "boolean",
"default": true,
"description": "Remember the last XPath query used.",
"scope": "resource"
2018-01-27 23:30:50 +00:00
},
"xmlTools.removeCommentsOnMinify": {
"type": "boolean",
"default": false,
"description": "Remove XML comments during minification.",
"scope": "resource"
2018-01-27 23:30:50 +00:00
},
2018-01-28 17:09:57 +00:00
"xmlTools.splitAttributesOnFormat": {
"type": "boolean",
"default": false,
"description": "Put each attribute on a new line when formatting XML. Overrides `xmlTools.splitXmlsOnFormat` if set to `true`.",
"scope": "resource"
},
2018-01-27 23:30:50 +00:00
"xmlTools.splitXmlnsOnFormat": {
"type": "boolean",
"default": true,
"description": "Put each xmlns attribute on a new line when formatting XML.",
"scope": "resource"
2018-01-27 23:30:50 +00:00
},
2018-01-28 01:30:03 +00:00
"xmlTools.xmlFormatterImplementation": {
"type": "string",
2018-01-28 06:19:06 +00:00
"default": "v2",
"description": "Supported XML Formatters: classic",
"scope": "resource"
2018-01-28 01:30:03 +00:00
},
2018-01-27 23:30:50 +00:00
"xmlTools.xqueryExecutionArguments": {
"type": "array",
2018-02-14 04:25:07 +00:00
"default": [
"-xquery",
"$(script)",
"-in",
"$(input)",
"-out",
"$(input.output.xml"
],
"description": "Arguments to be passed to the XQuery execution engine.",
"scope": "resource"
2018-01-27 23:30:50 +00:00
},
"xmlTools.xqueryExecutionEngine": {
"type": "string",
"default": "",
"description": "The full path to the executable to run when executing XQuery scripts.",
"scope": "resource"
2018-04-29 01:36:58 +01:00
},
"xmlTools.xqueryExecutionInputLimit": {
"type": "integer",
"default": 100,
"description": "The maximum number of input files to enumerate when executing XQuery scripts.",
"scope": "resource"
},
"xmlTools.xqueryExecutionInputSearchPattern": {
"type": "string",
"default": "**/*.xml",
"description": "The pattern used to search for input XML files when executing XQuery scripts.",
"scope": "resource"
2018-01-27 23:30:50 +00:00
}
}
},
"grammars": [
{
"language": "xquery",
"path": "./languages/xquery/xquery.tmLanguage",
"scopeName": "source.xquery"
}
],
"keybindings": [
{
"key": "ctrl+shift+alt+x",
"command": "xmlTools.evaluateXPath"
},
{
"key": "ctrl+shift+alt+b",
2018-03-02 00:33:23 +00:00
"command": "xmlTools.formatAsXml"
2018-01-27 22:50:50 +00:00
}
2018-01-28 06:19:06 +00:00
],
"languages": [
{
"id": "xquery",
2018-02-14 04:25:07 +00:00
"aliases": [
"XQuery",
"xquery"
],
"extensions": [
".xq",
".xql",
".xqm",
".xqy",
".xquery"
],
2018-01-28 06:19:06 +00:00
"configuration": "./languages/xquery/xquery.json"
}
2018-04-28 04:10:55 +01:00
],
"views": {
"explorer": [
{
"id": "xmlTreeView",
"name": "XML Document",
"when": "xmlTreeViewEnabled"
}
]
}
2018-01-27 22:50:50 +00:00
},
"scripts": {
"vscode:prepublish": "npm run compile",
2018-01-27 23:01:04 +00:00
"compile": "npm run lint && tsc -p ./",
2018-01-27 22:50:50 +00:00
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && mocha ./out/test/**/*.js",
2018-01-27 23:01:04 +00:00
"lint": "tslint -p tslint.json --fix"
2018-01-27 22:50:50 +00:00
},
"devDependencies": {
2018-01-27 23:01:04 +00:00
"@types/mocha": "^2.2.42",
2018-01-27 22:50:50 +00:00
"@types/node": "^7.0.43",
2018-04-28 04:10:55 +01:00
"@types/xmldom": "^0.1.29",
2018-01-27 23:01:04 +00:00
"tslint": "^5.9.1",
"typescript": "^2.6.1",
2018-04-29 05:47:12 +01:00
"vscode": "^1.1.16"
2018-02-14 04:25:07 +00:00
},
"dependencies": {
2018-04-28 04:10:55 +01:00
"xmldom": "^0.1.27",
2018-04-28 05:10:51 +01:00
"xpath": "0.0.27",
2018-02-14 04:25:07 +00:00
"xqlint": "^0.4.0"
2018-01-27 22:50:50 +00:00
}
}