Formatted package.json, normalize spaces/tabs.

This commit is contained in:
Mark Lopez 2017-07-12 10:28:53 -05:00
parent c828608867
commit 4463394b2c

View file

@ -1,47 +1,47 @@
{ {
"name": "xml", "name": "xml",
"displayName": "XML Tools", "displayName": "XML Tools",
"description": "XML Formatting, XQuery, and XPath Tools for Visual Studio Code", "description": "XML Formatting, XQuery, and XPath Tools for Visual Studio Code",
"version": "1.9.2", "version": "1.9.2",
"publisher": "DotJoshJohnson", "publisher": "DotJoshJohnson",
"author": { "author": {
"name": "Josh Johnson", "name": "Josh Johnson",
"url": "https://github.com/DotJoshJohnson" "url": "https://github.com/DotJoshJohnson"
}, },
"icon": "resources/xml.png", "icon": "resources/xml.png",
"galleryBanner": { "galleryBanner": {
"color": "#FFFFFF", "color": "#FFFFFF",
"theme": "light" "theme": "light"
}, },
"homepage": "https://github.com/DotJoshJohnson/vscode-xml", "homepage": "https://github.com/DotJoshJohnson/vscode-xml",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/DotJoshJohnson/vscode-xml.git" "url": "https://github.com/DotJoshJohnson/vscode-xml.git"
}, },
"bugs": { "bugs": {
"url": "https://github.com/DotJoshJohnson/vscode-xml/issues" "url": "https://github.com/DotJoshJohnson/vscode-xml/issues"
}, },
"engines": { "engines": {
"vscode": "^1.13.0", "vscode": "^1.13.0",
"node": "^0.12.0" "node": "^0.12.0"
}, },
"categories": [ "categories": [
"Languages", "Languages",
"Linters", "Linters",
"Other", "Other",
"Formatters" "Formatters"
], ],
"main": "./src/Extension", "main": "./src/Extension",
"contributes": { "contributes": {
"commands": [ "commands": [
{ {
"command": "xmlTools.minifyXml", "command": "xmlTools.minifyXml",
"title": "XML Tools: Minify XML" "title": "XML Tools: Minify XML"
}, },
{ {
"command": "xmlTools.evaluateXPath", "command": "xmlTools.evaluateXPath",
"title": "XML Tools: Evaluate XPath" "title": "XML Tools: Evaluate XPath"
}, },
{ {
"command": "xmlTools.executeXQuery", "command": "xmlTools.executeXQuery",
"title": "XML Tools: Execute XQuery" "title": "XML Tools: Execute XQuery"
@ -50,7 +50,7 @@
"command": "xmlTools.formatAsXml", "command": "xmlTools.formatAsXml",
"title": "XML Tools: Format as XML" "title": "XML Tools: Format as XML"
} }
], ],
"configuration": { "configuration": {
"title": "XML Tools Configuration", "title": "XML Tools Configuration",
"type": "object", "type": "object",
@ -77,7 +77,14 @@
}, },
"xmlTools.xqueryExecutionArguments": { "xmlTools.xqueryExecutionArguments": {
"type": "array", "type": "array",
"default": ["-xquery", "$(script)", "-in", "$(input)", "-out", "$(input).output.xml"], "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." "description": "Arguments to be passed to the execution engine. '$(script)' and '$(input)' refer to the XQuery script and input XML file, respectively."
}, },
"xmlTools.ignoreDefaultNamespace": { "xmlTools.ignoreDefaultNamespace": {
@ -87,21 +94,30 @@
} }
} }
}, },
"keybindings": [ "keybindings": [
{ {
"key": "ctrl+shift+alt+b", "key": "ctrl+shift+alt+b",
"command": "xmlTools.formatXml" "command": "xmlTools.formatXml"
}, },
{ {
"key": "ctrl+shift+alt+x", "key": "ctrl+shift+alt+x",
"command": "xmlTools.evaluateXPath" "command": "xmlTools.evaluateXPath"
} }
], ],
"languages": [ "languages": [
{ {
"id": "xquery", "id": "xquery",
"aliases": ["XQuery", "xquery"], "aliases": [
"extensions": [".xq",".xql",".xqm",".xqy",".xquery"], "XQuery",
"xquery"
],
"extensions": [
".xq",
".xql",
".xqm",
".xqy",
".xquery"
],
"configuration": "./languages/xquery/xquery.json" "configuration": "./languages/xquery/xquery.json"
} }
], ],
@ -120,27 +136,27 @@
} }
] ]
} }
}, },
"activationEvents": [ "activationEvents": [
"onLanguage:xml", "onLanguage:xml",
"onLanguage:xsl", "onLanguage:xsl",
"onLanguage:xquery", "onLanguage:xquery",
"onCommand:xmlTools.minifyXml", "onCommand:xmlTools.minifyXml",
"onCommand:xmlTools.evaluateXPath", "onCommand:xmlTools.evaluateXPath",
"onCommand:xmlTools.executeXQuery", "onCommand:xmlTools.executeXQuery",
"onCommand:xmlTools.formatAsXml" "onCommand:xmlTools.formatAsXml"
], ],
"devDependencies": { "devDependencies": {
"vscode": "^1.1.0", "vscode": "^1.1.0",
"typescript": "^2.3.4", "typescript": "^2.3.4",
"gulp": "^3.9.0", "gulp": "^3.9.0",
"gulp-shell": "^0.5.1" "gulp-shell": "^0.5.1"
}, },
"dependencies": { "dependencies": {
"xmldom": "^0.1.22", "xmldom": "^0.1.22",
"xpath": "^0.0.9", "xpath": "^0.0.9",
"xqlint": "^0.2.9" "xqlint": "^0.2.9"
}, },
"scripts": { "scripts": {
"vscode:prepublish": "tsc", "vscode:prepublish": "tsc",
"postinstall": "node ./node_modules/vscode/bin/install" "postinstall": "node ./node_modules/vscode/bin/install"