-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
276 lines (276 loc) · 6.62 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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
{
"name": "lime-vscode-extension",
"version": "1.5.1",
"publisher": "openfl",
"engines": {
"vscode": "^1.42.0",
"nadako.vshaxe": "^2.19.1"
},
"displayName": "Lime and OpenFL",
"description": "Lime and OpenFL project support",
"categories": [
"Other"
],
"galleryBanner": {
"theme": "dark",
"color": "#333333"
},
"keywords": [
"haxe",
"lime",
"openfl"
],
"badges": [],
"icon": "images/icon-128.png",
"author": "Joshua Granick",
"license": "MIT",
"bugs": "https://github.com/openfl/lime-vscode-extension/issues",
"homepage": "https://www.openfl.org",
"repository": {
"type": "git",
"url": "https://github.com/openfl/lime-vscode-extension"
},
"scripts": {
"build": "haxe build.hxml",
"foo": "haxelib list",
"postinstall": "haxelib --always install build.hxml",
"vscode:prepublish": "npm run build"
},
"main": "bin/lime-vscode.js",
"activationEvents": [
"workspaceContains:**/*.hxp",
"workspaceContains:**/*.lime",
"workspaceContains:**/project.xml",
"workspaceContains:**/Project.xml",
"onLanguage:haxe",
"onCommand:lime.createLimeProject",
"onCommand:lime.createOpenFLProject"
],
"contributes": {
"configuration": {
"title": "Lime",
"properties": {
"lime.browser": {
"description": "Type of browser used when debugging HTML5.",
"type": "string",
"enum": [
"chrome",
"firefox",
"edge"
],
"default": "chrome"
},
"lime.buildTypes": {
"description": "Additional custom build types for use with each available target.",
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "A label to use for identifying this build type."
},
"args": {
"type": "array",
"description": "The arguments added when using this build type.",
"items": {
"type": "string"
}
},
"enabled": {
"type": "boolean",
"description": "Whether this build type should be visible in the editor (true) or disabled.",
"default": true
}
}
}
},
"lime.defaultTargetConfiguration": {
"description": "The label of the target configuration to select by default for new workspaces.",
"type": "string",
"default": "HTML5"
},
"lime.executable": {
"description": "The Lime executable to use when running tasks and for display completion. Can be multiple arguments separated by spaces or a path to an executable.",
"type": "string",
"default": "lime"
},
"lime.projectFile": {
"description": "A custom path for a Lime project file to use for tasks and display completion.",
"type": "string",
"default": null
},
"lime.targetConfigurations": {
"description": "Additional custom target configurations to be used with the editor. A \"target configuration\" is a combination of both a Lime target and any additional build arguments.",
"type": "array",
"default": [],
"items": {
"description": "An additional Lime target configuration.",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "A name to use for identifying this configuration."
},
"target": {
"type": "string",
"description": "A supported Lime target.",
"anyOf": [
{
"enum": [
"android",
"air",
"flash",
"neko",
"hl",
"html5",
"windows",
"mac",
"linux",
"emscripten",
"electron"
]
},
{
"type": "string"
}
]
},
"args": {
"type": "array",
"description": "Any additional arguments to be used with any Lime commands.",
"items": {
"type": "string"
}
},
"enabled": {
"type": "boolean",
"description": "Whether this configuration should be visible in the editor (true) or disabled.",
"default": true
}
}
}
},
"lime.targets": {
"description": "Update the list of available Lime targets.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the Lime target"
},
"label": {
"type": "string",
"description": "A label to use for identifying this target."
},
"enabled": {
"type": "boolean",
"description": "Whether this target should be visible in the editor (true) or disabled.",
"default": true
}
}
}
},
"lime.promptToRefreshCompletion": {
"markdownDescription": "Whether to ask before running `lime update` to refresh completion after the project file has changed.",
"type": "boolean",
"default": false
}
}
},
"commands": [
{
"title": "Select Target Configuration",
"command": "lime.selectTarget",
"category": "Lime"
},
{
"title": "Refresh Code Completion",
"command": "lime.refreshCodeCompletion",
"category": "Lime"
},
{
"title": "Create New Project",
"command": "lime.createLimeProject",
"category": "Lime"
},
{
"title": "Create New Project",
"command": "lime.createOpenFLProject",
"category": "OpenFL"
}
],
"debuggers": [
{
"type": "lime",
"label": "Lime"
}
],
"problemMatchers": [
{
"name": "lime-nolaunch",
"owner": "lime",
"source": "tasks",
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": ".",
"endsPattern": ".*Starting.*"
}
}
],
"taskDefinitions": [
{
"type": "lime",
"required": [
"command"
],
"properties": {
"command": {
"type": "string",
"description": "The Lime command to execute."
},
"targetConfiguration": {
"type": "string",
"description": "The Lime target configuration to use."
},
"args": {
"type": "array",
"description": "Additional arguments.",
"items": {
"type": "string"
}
}
}
}
]
},
"dependencies": {
"hasbin": "^1.2.3"
},
"devDependencies": {
"haxe": "^5.2.1"
},
"extensionDependencies": [
"nadako.vshaxe"
],
"haxeDependencies": {
"haxe": "4.3.6",
"haxelib": "4.1.0"
},
"__metadata": {
"id": "c1cbdc7a-9c92-422b-87af-d193b3444f23",
"publisherDisplayName": "OpenFL",
"publisherId": "66a617f2-8aca-41e4-8cfe-f498606c6ab2"
}
}