forked from DotJoshJohnson/vscode-xml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
139 lines (139 loc) · 4.14 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "xml",
"displayName": "XML Tools",
"description": "XML Formatting, XQuery, and XPath Tools for Visual Studio Code",
"version": "1.6.0",
"publisher": "DotJoshJohnson",
"author": {
"name": "TrueCommerce",
"url": "https://github.com/TrueCommerce"
},
"icon": "resources/icon.png",
"galleryBanner": {
"color": "#FFFFFF",
"theme": "light"
},
"homepage": "https://github.com/TrueCommerce/vscode-xml/wiki",
"repository": {
"type": "git",
"url": "https://github.com/TrueCommerce/vscode-xml/wiki"
},
"bugs": {
"url": "https://github.com/TrueCommerce/vscode-xml/wiki"
},
"engines": {
"vscode": "^0.10.7",
"node": "^0.12.0"
},
"categories": [
"Languages",
"Linters",
"Other"
],
"main": "./src/Extension",
"contributes": {
"commands": [
{
"command": "xmlTools.minifyXml",
"title": "XML Tools: Minify XML"
},
{
"command": "xmlTools.evaluateXPath",
"title": "XML Tools: Evaluate XPath"
},
{
"command": "xmlTools.executeXQuery",
"title": "XML Tools: Execute XQuery"
},
{
"command": "xmlTools.viewXmlTree",
"title": "XML Tools: View XML Tree"
}
],
"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."
},
"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."
},
"xmlTools.ignoreDefaultNamespace": {
"type": "boolean",
"default": true,
"description": "Ignores default xmlns attribute when evaluating XPath."
}
}
},
"keybindings": [
{
"key": "ctrl+shift+alt+b",
"command": "xmlTools.formatXml"
},
{
"key": "ctrl+shift+alt+x",
"command": "xmlTools.evaluateXPath"
}
],
"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"
}
]
},
"activationEvents": [
"onLanguage:xml",
"onLanguage:xsl",
"onLanguage:xquery",
"onCommand:xmlTools.minifyXml",
"onCommand:xmlTools.evaluateXPath",
"onCommand:xmlTools.executeXQuery",
"onCommand:xmlTools.viewXmlTree"
],
"devDependencies": {
"vscode": "^0.11.8",
"typescript": "^1.6.2",
"gulp": "^3.9.0",
"gulp-shell": "^0.5.1"
},
"dependencies": {
"xmldom": "^0.1.22",
"xpath": "^0.0.9",
"xqlint": "^0.2.9"
},
"scripts": {
"vscode:prepublish": "tsc",
"postinstall": "node ./node_modules/vscode/bin/install"
}
}