-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
210 lines (210 loc) · 6.4 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
{
"name": "elm-ls-vscode",
"displayName": "Elm",
"description": "Improving your Elm experience since 2019",
"publisher": "elmTooling",
"icon": "images/elm.png",
"author": "Kolja Lampe",
"license": "MIT",
"version": "2.8.0",
"repository": {
"type": "git",
"url": "https://github.com/elm-tooling/elm-language-client-vscode"
},
"categories": [
"Linters",
"Snippets",
"Programming Languages"
],
"keywords": [
"elm"
],
"sponsor": {
"url": "https://opencollective.com/elm-tooling"
},
"engines": {
"vscode": "^1.63.0"
},
"activationEvents": [
"workspaceContains:**/elm.json"
],
"main": "./out/nodeClient",
"browser": "./out/browserClient",
"bin": {
"elm-ls": "out/nodeServer.js"
},
"extensionDependencies": [
"hbenl.vscode-test-explorer"
],
"capabilities": {
"virtualWorkspaces": {
"supported": "limited",
"description": "Some features like `elm make` and `elm-format` are not available in virtual workspaces."
}
},
"contributes": {
"languages": [
{
"id": "elm",
"aliases": [
"Elm",
"elm"
],
"extensions": [
".elm"
],
"configuration": "./language-configuration.json"
}
],
"jsonValidation": [
{
"fileMatch": "elm.json",
"url": "./schemas/elm.schema.json"
},
{
"fileMatch": "elm-analyse.json",
"url": "./schemas/elm-analyse.schema.json"
}
],
"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-syntax.json"
}
],
"commands": [
{
"command": "elm.install",
"title": "Install Package",
"category": "Elm"
},
{
"command": "elm.browsePackage",
"title": "Browse Package",
"category": "Elm"
},
{
"command": "elm.commands.restart",
"title": "Restart Elm Language Server",
"category": "Elm"
}
],
"taskDefinitions": [
{
"type": "elm-test",
"properties": {}
}
],
"configuration": {
"type": "object",
"title": "Elm",
"properties": {
"elmLS.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
},
"elmLS.elmPath": {
"scope": "window",
"type": "string",
"default": "",
"description": "The path to your elm executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder."
},
"elmLS.elmReviewPath": {
"scope": "window",
"type": "string",
"default": "",
"description": "The path to your elm-review executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder."
},
"elmLS.elmReviewDiagnostics": {
"scope": "window",
"type": "string",
"enum": [
"off",
"warning",
"error"
],
"default": "off",
"description": "Set severity or disable linting diagnostics for elm-review."
},
"elmLS.elmFormatPath": {
"scope": "window",
"type": "string",
"default": "",
"description": "The path to your elm-format executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder."
},
"elmLS.elmTestPath": {
"scope": "window",
"type": "string",
"default": "",
"description": "The path to your elm-test executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder."
},
"elmLS.disableElmLSDiagnostics": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "Disable linting diagnostics from the language server."
},
"elmLS.skipInstallPackageConfirmation": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "Skips confirmation for the Install Package code action."
},
"elmLS.onlyUpdateDiagnosticsOnSave": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "Only update compiler diagnostics on save, not on document change."
},
"elmLS.elmTestRunner.showElmTestOutput": {
"description": "Show output of elm-test as terminal task",
"type": "boolean",
"scope": "resource"
}
}
}
},
"scripts": {
"version-patch": "npm --no-git-tag-version version patch",
"version-minor": "npm --no-git-tag-version version minor",
"version-major": "npm --no-git-tag-version version major",
"version": "npm i && npm run compile",
"compile": "npm run copy-wasm && tsc -b tsconfig.json && node ./scripts/build.js",
"watch": "npm run copy-wasm && node ./scripts/build.js --watch",
"copy-wasm": "copyfiles ./server/tree-sitter-elm.wasm out -f",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "sh ./scripts/e2e.sh"
},
"dependencies": {
"request": "2.88.2"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.5",
"copyfiles": "^2.4.1",
"esbuild": "^0.19.10",
"path-browserify": "^1.0.1",
"prettier": "^3.1.1",
"typescript": "5.3.3",
"util": "^0.12.5"
}
}