-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
229 lines (229 loc) · 7.11 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
{
"name": "wurst",
"displayName": "Wurst language support",
"description": "Language support for Wurstscript.",
"icon": "images/wurst_icon.png",
"license": "SEE LICENSE IN LICENSE.txt",
"bugs": {
"url": "https://github.com/wurstscript/wurst4vscode/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/wurstscript/wurst4vscode",
"repository": {
"type": "git",
"url": "https://github.com/wurstscript/wurst4vscode.git"
},
"version": "0.6.2",
"publisher": "peterzeller",
"engines": {
"vscode": "^1.51.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:wurst",
"onCommand:wurst.clean",
"onCommand:wurst.startmap",
"onCommand:wurst.startlast",
"onCommand:wurst.tests",
"onCommand:wurst.tests_file",
"onCommand:wurst.tests_func",
"onCommand:wurst.perform_code_action",
"onCommand:wurst.buildmap",
"onCommand:wurst.tests_file"
],
"main": "./out/extension",
"browser": "./dist/web/extension.js",
"contributes": {
"languages": [
{
"id": "wurst",
"aliases": [
"Wurst",
"wurst"
],
"extensions": [
".wurst",
".jurst",
".j"
],
"configuration": "./wurst.configuration.json"
}
],
"documentFormattingEditProvider": {
"documentSelector": [
"wurst"
],
"enableForFileTypes": [
".wurst",
".jurst",
".j"
]
},
"grammars": [
{
"language": "wurst",
"scopeName": "source.wurst",
"path": "./syntaxes/wurst.json"
}
],
"commands": [
{
"command": "wurst.clean",
"title": "Clean the Wurst workspace",
"category": "wurst"
},
{
"command": "wurst.startmap",
"title": "Run a Wurst map",
"category": "wurst"
},
{
"command": "wurst.hotstartmap",
"title": "Hot run a Wurst map with Jass Hot Code Reload (JHCR)",
"category": "wurst"
},
{
"command": "wurst.hotreload",
"title": "Hot reload code for a Wurst map started with Jass Hot Code Reload (JHCR)",
"category": "wurst"
},
{
"command": "wurst.startlast",
"title": "Run the last map again",
"category": "wurst"
},
{
"command": "wurst.tests",
"title": "Run all unit tests",
"category": "wurst"
},
{
"command": "wurst.tests_file",
"title": "Run unit tests in current file",
"category": "wurst"
},
{
"command": "wurst.tests_func",
"title": "Run unit test under cursor",
"category": "wurst"
},
{
"command": "wurst.perform_code_action",
"title": "Perform a code action (This command is usually triggered by quick fixes in the editor).",
"category": "wurst"
},
{
"command": "wurst.buildmap",
"title": "Build your map via wurst.build (into /_build)",
"category": "wurst"
}
],
"keybindings": {
"command": "wurst.tests_file",
"key": "ctrl+f1",
"mac": "cmd+f1",
"when": "editorTextFocus"
},
"configuration": {
"type": "object",
"title": "Wurst configuration",
"properties": {
"wurst.javaExecutable": {
"type": "string",
"default": "java",
"description": "The command to use for starting Java. You can change this if Java is not in your PATH"
},
"wurst.javaOpts": {
"type": "array",
"default": [],
"description": "Additional options to pass to java when starting Wurst."
},
"wurst.debugMode": {
"type": "boolean",
"default": "false",
"description": "Enabling the debugmode will make the VM available for attaching on port 5005"
},
"wurst.hideExceptions": {
"type": "boolean",
"default": "true",
"description": "Turn this off to see Wurst Exceptions as vscode notifications"
},
"wurst.wurstJar": {
"type": "string",
"default": "$HOME/.wurst/wurstscript.jar",
"description": "The path to the wurstscript.jar of your wurstscript installation. Under normal circumstances you should not touch this! It should be set by the setup tool or grill."
},
"wurst.wc3path": {
"type": "string",
"default": "",
"description": "Optional path to a Warcraft installation directory (e.g. C:\\Games\\Warcraft III\\). If no executable can be found, it will be followed by an auto detection attempt."
},
"wurst.wc3RunArgs": {
"type": "string",
"default": "",
"description": "Custom run arguments passed to the warcraft executable (such as -windowmode and -graphicsapi) which will replace the default wurst arguments."
},
"wurst.mapDocumentPath": {
"type": "string",
"default": "",
"description": "The path where to put maps before running them. Usually something like `C:\\Users\\YourName\\Documents\\Warcraft III`."
},
"wurst.jhcrExe": {
"type": "string",
"default": "jhcr.exe",
"description": "The path to the Jass Hot Code Reload (JHCR) executable. The default assumes that the executable is on the Path."
},
"wurst.customMapDataPath": {
"type": "string",
"default": "",
"markdownDescription": "The path where Warcraft stores custom map data. This is usually something like `C:\\Users\\lep\\Documents\\Warcraft III\\CustomMapData` or `C:\\Users\\Peter\\OneDrive\\Dokumente\\Warcraft III\\CustomMapData`. This path will be passed to the `--preload-path` option of Jass Hot Code Reload (JHCR)."
},
"wurst.testTimeout": {
"type": "number",
"default": "20",
"description": "Timeout in seconds after which tests will be cancelled and considered failed, if they did not yet succeed."
},
"wurst.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./ && npm run package-web",
"compile": "tsc -watch -p ./",
"compile-web": "webpack",
"watch-web": "webpack --watch",
"package-web": "webpack --mode production --devtool hidden-source-map",
"publish": "vsce publish"
},
"devDependencies": {
"@types/node": "^14.14.7",
"@types/os-homedir": "^1.0.0",
"@types/vscode": "^1.51.0",
"@types/webpack-env": "^1.16.2",
"@vscode/vsce": "^2.21.1",
"ts-loader": "^9.2.5",
"typescript": "^4.0.5",
"webpack": "^5.52.1",
"webpack-cli": "^4.8.0"
},
"dependencies": {
"semver": "^5.7.1",
"vscode-languageclient": "^5.2.1"
},
"extensionPack": [
"redhat.vscode-yaml",
"vscode-icons-team.vscode-icons"
]
}