-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
147 lines (147 loc) · 3.52 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
{
"name": "purs-lsp-client",
"description": "Purescript language server client",
"license": "MIT",
"version": "1.0.0",
"engines": {
"vscode": "^1.75.0"
},
"activationEvents": [
"onLanguage:purescript"
],
"contributes": {
"languages": [
{
"id": "purescript",
"aliases": [
"Purescript",
"purescript"
],
"extensions": [
".purs"
]
}
],
"commands": [
{
"command": "purescript-lsp.build",
"title": "Purescript: Build"
},
{
"command": "purescript-lsp.clear-cache",
"title": "Purescript: clear all caches"
},
{
"command": "purescript-lsp.clear-cache:rebuild",
"title": "Purescript: clear rebuild cache"
},
{
"command": "purescript-lsp.clear-cache:export",
"title": "Purescript: clear export cache"
},
{
"command": "purescript-lsp.delete-output",
"title": "Purescript: Delete output"
},
{
"command": "purescript-lsp.index-fast",
"title": "Purescript: Index existing externs"
},
{
"command": "purescript-lsp.index-full",
"title": "Purescript: Index externs with full rebuild"
}
],
"configuration": {
"purescript-lsp.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)"
},
"purescript-lsp.outputPath": {
"scope": "resource",
"type": "string",
"default": "./output",
"description": "Path to purs output directory"
},
"purescript-lsp.globs": {
"scope": "resource",
"type": "array",
"default": ["src/**/*.purs", ".spago/**/*.purs"],
"description": "Source file globs"
},
"purescript-lsp.logLevel": {
"scope": "resource",
"type": "string",
"enum": [
"all",
"debug",
"perf",
"info",
"warning",
"error",
"none"
],
"default": "warning"
},
"purescript-lsp.": {
"scope": "resource",
"type": "traceValue",
"default": null
},
"purescript-lsp.maxTypeLength": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Max length of types in autocomplete"
},
"purescript-lsp.maxCompletions": {
"scope": "resource",
"type": "number",
"default": 50,
"description": "Max number of completions to show"
},
"purescript-lsp.maxFilesInCache": {
"scope": "resource",
"type": "number",
"default": 16,
"description": "Max number of files to keep in memory cache"
}
}
},
"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"
}
}