-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
177 lines (177 loc) · 4.24 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
{
"name": "purs-lsp-client",
"description": "Purescript language server client",
"publisher": "OxfordAbstracts",
"license": "MIT",
"version": "1.2.0",
"repository": {
"type": "git",
"url": "https://github.com/OxfordAbstracts/purescript-vscode-client.git"
},
"bugs": {
"url": "https://github.com/OxfordAbstracts/purescript-vscode-client/issues"
},
"homepage": "https://github.com/OxfordAbstracts/purescript-vscode-client",
"engines": {
"vscode": "^1.75.0"
},
"keywords": [
"purescript",
"purs",
"ide",
"lsp"
],
"activationEvents": [
"onLanguage:purescript",
"onLanguage:Purescript",
"workspaceContains:src/**/*.purs",
"workspaceContains:**/spago.yaml",
"workspaceContains:**/spago.dhall"
],
"contributes": {
"languages": [
{
"id": "purescript",
"aliases": [
"Purescript",
"purescript"
],
"extensions": [
".purs"
]
}
],
"commands": [
{
"command": "purs-lsp-client.build",
"title": "Purescript: Build"
},
{
"command": "purs-lsp-client.clear-cache",
"title": "Purescript: clear all caches"
},
{
"command": "purs-lsp-client.clear-cache:rebuild",
"title": "Purescript: clear rebuild cache"
},
{
"command": "purs-lsp-client.clear-cache:export",
"title": "Purescript: clear export cache"
},
{
"command": "purs-lsp-client.delete-output",
"title": "Purescript: Delete output"
},
{
"command": "purs-lsp-client.index-fast",
"title": "Purescript: Index existing externs"
},
{
"command": "purs-lsp-client.index-full",
"title": "Purescript: Index externs with full rebuild"
}
],
"configuration": {
"title": "Purescript LSP Client",
"properties": {
"purs-lsp-client.formatter": {
"scope": "resource",
"type": "string",
"enum": [
"none",
"purty",
"purs-tidy",
"pose"
],
"markdownEnumDescriptions": [
"No formatting provision",
"Use purty. Must be installed - [instructions](https://gitlab.com/joneshf/purty#npm)",
"Use purs-tidy. Must be installed - [instructions](https://github.com/natefaubion/purescript-tidy)",
"Use pose (prettier plugin). Must be installed - [instructions](https://pose.rowtype.yoga/)"
],
"default": "purs-tidy",
"description": "Tool to use to for formatting. Must be installed and on PATH (or npm installed with addNpmPath set)"
},
"purs-lsp-client.outputPath": {
"scope": "resource",
"type": "string",
"default": "./output",
"description": "Path to purs output directory"
},
"purs-lsp-client.globs": {
"scope": "resource",
"type": "array",
"default": [
"src/**/*.purs",
".spago/**/*.purs"
],
"description": "Source file globs"
},
"purs-lsp-client.logLevel": {
"scope": "resource",
"type": "string",
"enum": [
"all",
"debug",
"perf",
"info",
"warning",
"error",
"none"
],
"default": "warning"
},
"purs-lsp-client.traceValue": {
"scope": "resource",
"type": "traceValue",
"default": null
},
"purs-lsp-client.maxTypeLength": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Max length of types in autocomplete"
},
"purs-lsp-client.maxCompletions": {
"scope": "resource",
"type": "number",
"default": 50,
"description": "Max number of completions to show"
},
"purs-lsp-client.maxFilesInCache": {
"scope": "resource",
"type": "number",
"default": 16,
"description": "Max number of files to keep in memory cache"
}
}
},
"breakpoints": [
{
"language": "purescript"
}
]
},
"main": "./out/extension",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./src --ext .ts,.tsx",
"test": "sh ./scripts/e2e.sh"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "^18.14.6",
"@types/vscode": "^1.75.1",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.57.0",
"mocha": "^10.3.0",
"typescript": "^5.3.3"
}
}