forked from BetterThanTomorrow/calva
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
376 lines (376 loc) · 13.1 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
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
{
"name": "clojure4vscode",
"displayName": "Calva: Clojure & Clojurescript Interactive Programming",
"description": "Integrated REPL, linting, inline eval and more for VSCode. Powered by Cider & nRepl.",
"icon": "assets/calva.png",
"version": "1.3.65",
"publisher": "cospaia",
"author": {
"name": "Bettar Than Tomorrow",
"email": "pez@pezius.com"
},
"repository": {
"type": "git",
"url": "https://github.com/BetterThanTomorrow/calva.git"
},
"license": "MIT",
"engines": {
"vscode": "^1.30.0"
},
"categories": [
"Programming Languages",
"Linters",
"Formatters",
"Other"
],
"keywords": [
"cider",
"nrepl",
"repl",
"interactive programming"
],
"galleryBanner": {
"color": "#344D81",
"theme": "dark"
},
"badges": [
{
"url": "https://img.shields.io/badge/clojurians--zulip-calva-brightgreen.svg?logo=zulip",
"href": "https://clojurians.zulipchat.com/#narrow/stream/calva",
"description": "Let's talk in the #calva stream of Clojurians Zulip"
},
{
"url": "https://img.shields.io/badge/clojurians-calva--dev-blue.svg?logo=slack",
"href": "https://clojurians.slack.com/messages/calva-dev/",
"description": "Let's talk in the #calva-dev channel at the Clojurians Slack"
}
],
"activationEvents": [
"onLanguage:clojure",
"onCommand:calva.connect",
"onCommand:calva.openReplWindow"
],
"main": "./out/calva/extension",
"extensionPack": [
"cospaia.calva-fmt",
"cospaia.paredit-revived"
],
"contributes": {
"debuggers": [
{
"type": "clojure",
"enableBreakpointsFor": {
"languageIds": [
"clojure"
]
}
}
],
"configuration": {
"type": "object",
"title": "Calva",
"properties": {
"clojure.format.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable calva-fmt as clojure formatter"
},
"calva.evalOnSave": {
"type": "boolean",
"default": false,
"description": "Run load-file when opening a new file and on file save"
},
"calva.lintOnSave": {
"type": "boolean",
"default": false,
"description": "Run joker-linting when opening a new file and on file save"
},
"calva.autoConnect": {
"type": "boolean",
"default": true,
"description": "Try to connect to nREPL on start using the .nrepl-port file"
},
"calva.testOnSave": {
"type": "boolean",
"default": false,
"description": "Run namespace tests when opening a new file and on file save"
},
"calva.syncReplNamespaceToCurrentFile": {
"type": "boolean",
"default": false,
"description": "Keeps the Terminal REPL's namespace in sync with the current file (if it has a valid clojure namespace form)"
},
"calva.connectREPLCommand": {
"type": "string",
"default": "lein repl :connect",
"description": "Shell command used by the 'Terminal REPL' to connect to the nREPL (host:port will be appended)"
},
"calva.startCLJSREPLCommand": {
"type": "string",
"default": "(do (require '[figwheel-sidecar.repl-api :as figwheel]) (figwheel/cljs-repl))",
"description": "Clojure command to start the ClojureScript REPL off of the Clojure REPL. (This setting is not used for shadow-cljs sessions)"
},
"calva.projectRootDirectory": {
"type": "string",
"default": ".",
"description": "The root directory of your Clojure project, relative to the Workspace root"
},
"calva.jokerPath": {
"type": "string",
"default": "joker",
"description": "Sets the path in which the Joker executable can be found. If useWSL has been set to true, this should be a valid WSL path."
},
"calva.useWSL": {
"type": "boolean",
"default": false,
"description": "Specifies if the nREPL and Joker are running within WSL."
}
}
},
"commands": [
{
"command": "calva.connect",
"title": "Connect",
"category": "Calva"
},
{
"command": "calva.reconnect",
"title": "Reconnect",
"category": "Calva"
},
{
"command": "calva.toggleCLJCSession",
"title": "Toggle REPL connection used for CLJC files",
"category": "Calva"
},
{
"command": "calva.selectCurrentForm",
"title": "Select current form",
"category": "Calva"
},
{
"command": "calva.clearInlineResults",
"title": "Clear all inline display of evaluation results",
"category": "Calva"
},
{
"command": "calva.evaluateSelection",
"title": "Evaluate selection or current form",
"category": "Calva"
},
{
"command": "calva.evaluateCurrentTopLevelForm",
"title": "Evaluate current top level form",
"category": "Calva"
},
{
"command": "calva.evaluateSelectionPrettyPrint",
"title": "Evaluate selection or current form, and pretty print",
"category": "Calva"
},
{
"command": "calva.evaluateCurrentTopLevelFormPrettyPrint",
"title": "Evaluate current top level form, and pretty print",
"category": "Calva"
},
{
"command": "calva.evaluateSelectionReplace",
"title": "Evaluate selection or current form, and replace it with the result",
"category": "Calva"
},
{
"command": "calva.copyLastResults",
"title": "Copy the result of last evaluation to the clipboard",
"category": "Calva"
},
{
"command": "calva.evaluateFile",
"title": "Evaluate current file",
"category": "Calva"
},
{
"command": "calva.lintFile",
"title": "Lint current file",
"category": "Calva"
},
{
"command": "calva.runNamespaceTests",
"title": "Run tests for current namespace",
"category": "Calva"
},
{
"command": "calva.runAllTests",
"title": "Run all tests",
"category": "Calva"
},
{
"command": "calva.rerunTests",
"title": "Run previous tests again",
"category": "Calva"
},
{
"command": "calva.openREPLTerminal",
"title": "Open REPL terminal",
"category": "Calva"
},
{
"command": "calva.loadNamespace",
"title": "Load current namespace in REPL terminal",
"category": "Calva"
},
{
"command": "calva.setREPLNamespace",
"title": "Switch namespace in current terminal REPL to namespace of this file",
"category": "Calva"
},
{
"command": "calva.evalCurrentFormInREPLTerminal",
"title": "Evaluate current form (or selection) in REPL terminal",
"category": "Calva"
},
{
"command": "calva.evalCurrentTopLevelFormInREPLTerminal",
"title": "Evaluate current top level form in REPL terminal",
"category": "Calva"
},
{
"command": "calva.recreateCljsRepl",
"title": "Attach (or re-attach) a Clojurescript session",
"category": "Calva"
}
],
"keybindings": [
{
"command": "calva.connect",
"key": "ctrl+alt+v c"
},
{
"command": "calva.reconnect",
"key": "ctrl+alt+v shift+c"
},
{
"command": "calva.toggleCLJCSession",
"key": "ctrl+alt+v alt+c"
},
{
"command": "calva.recreateCljsRepl",
"key": "ctrl+alt+v ctrl+r"
},
{
"command": "calva.selectCurrentForm",
"key": "ctrl+alt+v s"
},
{
"command": "calva.clearInlineResults",
"key": "escape",
"when": "editorLangId == clojure && editorTextFocus && !editorReadOnly && !suggestWidgetVisible && !hasOtherSuggestions"
},
{
"command": "calva.evaluateSelection",
"key": "ctrl+alt+v e"
},
{
"command": "calva.evaluateCurrentTopLevelForm",
"key": "ctrl+alt+v space"
},
{
"command": "calva.evaluateSelectionPrettyPrint",
"key": "ctrl+alt+v p"
},
{
"command": "calva.evaluateCurrentTopLevelFormPrettyPrint",
"key": "ctrl+alt+v ctrl+alt+p"
},
{
"command": "calva.evaluateSelectionReplace",
"key": "ctrl+alt+v r"
},
{
"command": "calva.copyLastResults",
"key": "ctrl+alt+v ctrl+c"
},
{
"command": "calva.evaluateFile",
"key": "ctrl+alt+v enter"
},
{
"command": "calva.lintFile",
"key": "ctrl+alt+v l"
},
{
"command": "calva.runNamespaceTests",
"key": "ctrl+alt+v t"
},
{
"command": "calva.runAllTests",
"key": "ctrl+alt+v shift+t"
},
{
"command": "calva.rerunTests",
"key": "ctrl+alt+v ctrl+t"
},
{
"command": "calva.openREPLTerminal",
"key": "ctrl+alt+v z"
},
{
"command": "calva.loadNamespace",
"key": "ctrl+alt+v alt+n"
},
{
"command": "calva.setREPLNamespace",
"key": "ctrl+alt+v n"
},
{
"command": "calva.evalCurrentFormInREPLTerminal",
"key": "ctrl+alt+v alt+e"
},
{
"command": "calva.evalCurrentTopLevelFormInREPLTerminal",
"key": "ctrl+alt+v alt+space"
}
],
"menus": {
"commandPalette": []
}
},
"scripts": {
"watch-ts": "concurrently \"tsc -watch -p ./\" \"npx webpack -w\"",
"release": "npm i && tsc -p ./",
"compile": "npm i && tsc -p ./",
"vscode:prepublish": "npm run release",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"dependencies": {
"@cospaia/calva-lib": "0.0.20",
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.66",
"clipboardy": "^1.2.3",
"find": "0.2.9",
"immutable": "3.8.1",
"immutable-cursor": "2.0.1",
"jsedn": "^0.4.1",
"jszip": "3.1.3",
"lodash": "^4.17.11",
"net": "1.0.2",
"npm": "^6.4.0",
"paredit.js": "^0.3.4",
"vscode-extension-telemetry": "0.0.15",
"wsl-path": "^1.1.0"
},
"devDependencies": {
"@calva/repl-interactor": "0.0.1",
"concurrently": "^4.1.0",
"eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"ts-loader": "^5.3.3",
"typescript": "^2.9.2",
"vscode": "^1.1.26",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1"
}
}