forked from elm-tooling/vscode-elm-old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
348 lines (348 loc) · 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
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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
{
"name": "elm",
"description": "Elm Language Support for Visual Studio Code",
"version": "0.23.1",
"publisher": "sbrink",
"author": {
"name": "Krzysztof Cieslak"
},
"contributors": [
{
"name": "Krzysztof Cieślak",
"url": "https://twitter.com/k_cieslak"
},
{
"name": "Sascha Brink",
"url": "https://github.com/sbrink"
},
{
"name": "Robert Jeppesen",
"url": "https://github.com/rojepp"
}
],
"icon": "images/elmIcon.png",
"galleryBanner": {
"color": "#232323",
"theme": "dark"
},
"engines": {
"vscode": "^1.6.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Linters"
],
"license": "SEE LICENSE IN LICENSE.md",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/Krzysztof-Cieslak/vscode-elm.git"
},
"bugs": {
"url": "https://github.com/Krzysztof-Cieslak/vscode-elm/issues"
},
"contributes": {
"configuration": {
"type": "object",
"title": "Elm configuration",
"properties": {
"elm.disableLinting": {
"type": "boolean",
"default": false,
"description": "Set this setting to true to disable linter if performance is degraded when another elm compiler is running."
},
"elm.reactorHost": {
"type": "string",
"default": "127.0.0.1",
"description": "Set the address of the Elm Reactor server."
},
"elm.reactorPort": {
"type": "number",
"default": 8000,
"description": "Set the port of the Elm Reactor server."
},
"elm.reactorSubdir": {
"type": "string",
"default": "",
"description": "Set the subdir path traversal used to run Elm reactor server. Example: '../' to use parent directory."
},
"elm.formatCommand": {
"type": "string",
"default": "elm-format",
"description": "Command to run when executing elm-format"
},
"elm.makeOutput": {
"type": "string",
"default": "elm.js",
"description": "Elm Make's output file name (relative to root folder)"
},
"elm.makeCommand": {
"type": "string",
"default": "elm-make",
"description": "Command to run when executing elm make, this is for versions of elm prior to 0.19."
},
"elm.compiler": {
"type": "string",
"default": "elm",
"description": "Command to run when executing elm compiler and its sub commands like make, repl etc, this is for versions of elm 0.19+"
},
"elm.elmTestCompiler": {
"type": "string",
"default": "elm-test",
"description": "Command to run when executing elm make on test files, for Elm 0.19 using elm-test 0.19.0-beta11 or later."
},
"elm.elmTestFileMatcher": {
"type": "string",
"default": "tests/",
"description": "A string to match against your test files, for Elm 0.19. Only useful if you don't put your tests into tests/."
},
"elm.makeSpecialFile": {
"type": "string",
"default": "",
"description": "When empty, the elm-make uses the current editor file. If set, elm-make always use this file. Example 'src/Main.elm' will run elm-make on workspacepath/src/Main.elm"
},
"elm.showSuggestionsInElmSyntax": {
"type": "boolean",
"default": true,
"description": "Display autocomplete/hover suggestions with Elm syntax highlighting"
},
"elm.userProjectIntellisense": {
"type": "boolean",
"default": true,
"description": "Include your functions and types in hover/autocomplete suggestions"
},
"elm.includeParamsInUserAutocomplete": {
"type": "boolean",
"default": false,
"description": "Include all parameters when accepting an autocomplete. If false, only the function name is inserted."
},
"elm.userProjectMaxCommentSize": {
"type": "number",
"default": 10,
"description": "Max number of lines in a user hover suggestion (no effect if elm.userProjectIntellisense is false)"
},
"elm.userProjectImportStrategy": {
"type": "string",
"enum": [
"dotIsFolder",
"dotIsFilenameCharacter",
"dynamicLookup",
"semiDynamicLookup",
"ignore"
],
"default": "dynamicLookup",
"description": "How to parse imported files when the module has a dot in it. Values: \n\tdotIsFolder: Assume everything in front of each dot is a folder name. \n\t dotIsFilenameCharacter: Assume that the dot is part of the file name \n\t dynamicLookup: Don't make any assumptions and parse the first line of all files, building up a list of module names. \n\t semiDynamicLookup: Same as dynamic but it will keep the last looked up modules in memory; reloading the window is required to refresh it \n\t ignore: Do not attempt to generate intellisense for user modules with a dot in them \n\nThe window must be reloaded for changes to take effect"
},
"elm.maxWorkspaceFilesUsedBySymbols": {
"type": "number",
"default": 100,
"description": "Max number of files to search in workspace when reading workspace symbols."
},
"elm.workspaceFilesExcludePatternUsedBySymbols": {
"type": "string",
"default": "**/{node_modules,elm-stuff}/**",
"description": "The exclude pattern used to search in workspace when reading workspace symbols."
},
"elm.includeUserFunctionDocumentation": {
"type": "boolean",
"default:": true,
"description": "Include function/type/type alias comments in intellisense results."
},
"elm.analyseCommand": {
"type": "string",
"default": "elm-analyse",
"description": "Command to run when executing elm-analyse"
},
"elm.analysePort": {
"type": "string",
"default": "3379",
"description": "Port used by elm-analyse process"
},
"elm.analyseEnabled": {
"type": "boolean",
"default": false,
"description": "Enable or disable elm-analyse on startup."
},
"elm.useWorkSpaceRootForElmRoot": {
"type": "boolean",
"default": false,
"description": "Disable trying to detect elm-package from the current file and just use the VSCode workspace's root as the location of elm-package.json."
}
}
},
"languages": [
{
"id": "elm",
"aliases": [
"Elm",
"elm"
],
"extensions": [
".elm"
],
"configuration": "./elm.configuration.json"
}
],
"commands": [
{
"command": "elm.replStart",
"title": "Elm: REPL - Start"
},
{
"command": "elm.replSendLine",
"title": "Elm: REPL - Send Line"
},
{
"command": "elm.replSendSelection",
"title": "Elm: REPL - Send Selection"
},
{
"command": "elm.replSendFile",
"title": "Elm: REPL - Send File"
},
{
"command": "elm.reactorStart",
"title": "Elm: Reactor - Start"
},
{
"command": "elm.reactorStop",
"title": "Elm: Reactor - Stop"
},
{
"command": "elm.make",
"title": "Elm: Make"
},
{
"command": "elm.makeWarn",
"title": "Elm: Make --warn"
},
{
"command": "elm.install",
"title": "Elm: Install packages/dependencies"
},
{
"command": "elm.browsePackage",
"title": "Elm: Browse packages/dependencies documentation"
},
{
"command": "elm.clean",
"title": "Elm: Clean build artifact"
},
{
"command": "elm.analyseStart",
"title": "Elm: Start elm-analyse"
},
{
"command": "elm.analyseStop",
"title": "Elm: Stop elm-analyse"
}
],
"outputChannels": [
"Elm REPL",
"Elm Make",
"Elm Reactor",
"Elm Package"
],
"keybindings": [
{
"command": "elm.replSendLine",
"key": "alt+/",
"mac": "alt+/",
"when": "editorFocus && !findWidgetVisible && editorLangId == 'elm'"
},
{
"command": "elm.replSendSelection",
"key": "alt+Enter",
"mac": "alt+Enter",
"when": "editorFocus && !findWidgetVisible && editorLangId == 'elm'"
},
{
"command": "elm.make",
"key": "ctrl+f5",
"mac": "cmd+f5",
"when": "editorFocus && !findWidgetVisible && editorLangId == 'elm'"
}
],
"grammars": [
{
"scopeName": "markdown.elm.codeblock",
"path": "./syntaxes/codeblock.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.block.elm": "elm",
"meta.embedded.block.glsl": "glsl"
}
},
{
"language": "elm",
"scopeName": "source.elm",
"path": "./syntaxes/elm.json"
}
],
"snippets": [
{
"language": "elm",
"path": "./snippets/elm.json"
}
],
"jsonValidation": [
{
"fileMatch": "elm.json",
"url": "./schemas/elm.schema.json"
},
{
"fileMatch": "elm-package.json",
"url": "./schemas/elm-package.schema.json"
}
]
},
"activationEvents": [
"onLanguage:elm",
"onCommand:elm.replStart",
"onCommand:elm.replStop",
"onCommand:elm.replSendLine",
"onCommand:elm.replSendSelection",
"onCommand:elm.replSendFile",
"onCommand:elm.reactorStart",
"onCommand:elm.reactorStop",
"onCommand:elm.make",
"onCommand:elm.makeWarn",
"onCommand:elm.install",
"onCommand:elm.browsePackage",
"onCommand:elm.analyseStart",
"onCommand:elm.analyseStop",
"onCommand:elm.clean"
],
"main": "./out/src/elmMain",
"scripts": {
"vscode:prepublish": "tsc -p ./",
"build": "tsc -p ./",
"compile": "tsc -watch -p ./",
"lint": "tslint \"src/**/*.ts\" && prettier \"{src,__{tests,mocks}__}/**/*.ts\" --single-quote --trailing-comma all --list-different",
"test": "node ./node_modules/vscode/bin/test",
"postinstall": "node ./node_modules/vscode/bin/install",
"prettier": "prettier --single-quote --trailing-comma all --write \"{src,__{tests,mocks}__}/**/*.ts\""
},
"devDependencies": {
"@types/lodash": "^4.14.118",
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.50",
"mocha": "^2.3.3",
"prettier": "^1.5.3",
"typescript": "^2.4.0",
"vscode": "1.1.0"
},
"dependencies": {
"elm-module-parser": "0.1.9",
"elm-oracle": "^0.2.0",
"lodash": "^4.17.11",
"request": "^2.69.0",
"rimraf": "^2.5.2",
"tslint": "^5.4.3",
"vscode-uri": "^1.0.0",
"ws": "^3.0.0"
}
}