-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
253 lines (253 loc) · 6.54 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
{
"name": "vscode-sonic-pi",
"displayName": "Sonic Pi",
"publisher": "jakearl",
"description": "Language support and code running for Sonic Pi scripts",
"preview": true,
"version": "0.0.8",
"repository": {
"url": "https://github.com/JacksonKearl/vscode-sonic-pi"
},
"icon": "img/icon.png",
"engines": {
"vscode": "^1.58.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:sonic-pi",
"onCommand:vscode-sonic-pi.openExamples",
"onCommand:vscode-sonic-pi.startserver",
"onCommand:vscode-sonic-pi.run",
"onCommand:vscode-sonic-pi.runCell",
"onCommand:vscode-sonic-pi.runselected",
"onCommand:vscode-sonic-pi.newNotebook",
"onNotebook:sonic-pi-book"
],
"main": "./out/extension.js",
"contributes": {
"menus": {
"file/newFile": [
{
"command": "vscode-sonic-pi.newNotebook",
"group": "notebook",
"title": "Sonic Pi Notebook"
}
]
},
"notebooks": [
{
"type": "sonic-pi-book",
"displayName": "Sonic Pi",
"selector": [
{
"filenamePattern": "*.pibook"
}
]
}
],
"languages": [
{
"id": "sonic-pi",
"aliases": [
"Sonic Pi",
"sonic-pi"
],
"extensions": [
"pi"
],
"configuration": "./language-configuration.json"
}
],
"commands": [
{
"command": "vscode-sonic-pi.startserver",
"title": "Start Server",
"category": "Sonic Pi"
},
{
"command": "vscode-sonic-pi.newNotebook",
"title": "New Notebook",
"category": "Sonic Pi"
},
{
"command": "vscode-sonic-pi.openExamples",
"title": "Open Examples",
"category": "Sonic Pi"
},
{
"command": "vscode-sonic-pi.run",
"title": "Run",
"category": "Sonic Pi"
},
{
"command": "vscode-sonic-pi.runCell",
"title": "Run Notebook Cell",
"category": "Sonic Pi"
},
{
"command": "vscode-sonic-pi.runselected",
"title": "Run selected text",
"category": "Sonic Pi"
},
{
"command": "vscode-sonic-pi.stop",
"title": "Stop",
"category": "Sonic Pi"
},
{
"command": "vscode-sonic-pi.stopNotebook",
"title": "Stop Notebook",
"category": "Sonic Pi"
},
{
"command": "vscode-sonic-pi.togglerecording",
"title": "Toggle recording",
"category": "Sonic Pi"
}
],
"keybindings": [
{
"command": "vscode-sonic-pi.run",
"key": "F5",
"when": "editorLangId=='sonic-pi' && notebookType!='sonic-pi-book'"
},
{
"command": "vscode-sonic-pi.run",
"key": "alt+r",
"when": "editorLangId=='sonic-pi' && notebookType!='sonic-pi-book'"
},
{
"command": "vscode-sonic-pi.runCell",
"key": "F5",
"when": "editorLangId=='sonic-pi' && notebookType=='sonic-pi-book'"
},
{
"command": "vscode-sonic-pi.runCell",
"key": "alt+r",
"when": "editorLangId=='sonic-pi' && notebookType=='sonic-pi-book'"
},
{
"command": "vscode-sonic-pi.stopNotebook",
"key": "alt+s",
"when": "notebookType=='sonic-pi-book'"
},
{
"command": "vscode-sonic-pi.runselected",
"key": "alt+t",
"when": "editorLangId=='sonic-pi' && notebookType!='sonic-pi-book'"
},
{
"command": "vscode-sonic-pi.stop",
"key": "alt+s",
"when": "editorLangId=='sonic-pi' && notebookType!='sonic-pi-book'"
},
{
"command": "vscode-sonic-pi.togglerecording",
"key": "shift+alt+r",
"when": "editorLangId=='sonic-pi'"
}
],
"configuration": {
"title": "Sonic Pi",
"properties": {
"vscode-sonic-pi.sonicPiRootDirectory": {
"type": "string",
"description": "Set Sonic Pi installation directory.\nOnly use this if the default does not work for you."
},
"vscode-sonic-pi.launchSonicPiServerAutomatically": {
"type": "string",
"enum": [
"ruby",
"start",
"never",
"custom"
],
"enumDescriptions": [
"Start the server when there is a ruby file open in the editor",
"Start the server when starting vscode",
"Do not start the server automatically (must launch it manually through the Sonic Pi: Start Server command)",
"Start the server when opening a custom file extension - enter in the Launch Sonic Pi Server Custom Extension setting"
],
"default": "ruby",
"description": "Launch Sonic Pi Server automatically when..."
},
"vscode-sonic-pi.launchSonicPiServerCustomExtension": {
"type": "string",
"description": "If the Launch server automatically setting is set to custom, what extension triggers the launch?"
},
"vscode-sonic-pi.runFileWhenRunSelectedIsEmpty": {
"type": "string",
"enum": [
"always",
"never"
],
"description": "If there is no selection when Run selected is triggered, run the whole file"
},
"vscode-sonic-pi.invertStereo": {
"type": "boolean",
"default": false,
"description": "Invert stereo"
},
"vscode-sonic-pi.forceMono": {
"type": "boolean",
"default": false,
"description": "Force mono output"
},
"vscode-sonic-pi.safeMode": {
"type": "boolean",
"default": true,
"description": "Synth argument checking functions.\nIf disabled, certain synth opt values may\ncreate unexpectedly loud or uncomfortable sounds."
},
"vscode-sonic-pi.logAutoscroll": {
"type": "boolean",
"default": true,
"description": "Autoscroll the log"
},
"vscode-sonic-pi.logClearOnRun": {
"type": "boolean",
"default": true,
"description": "Clear the log when executing a run"
},
"vscode-sonic-pi.flashBackgroundColor": {
"type": "string",
"default": "rgba(255,20,147,1.0)",
"description": "Background flash color when running code"
},
"vscode-sonic-pi.flashTextColor": {
"type": "string",
"default": "rgba(255,255,255,1.0)",
"description": "Text flash color when running code"
}
}
},
"grammars": [
{
"language": "sonic-pi",
"scopeName": "source.sonic-pi",
"path": "./syntaxes/sonic-pi.tmLanguage.json"
}
]
},
"devDependencies": {
"@types/chai": "^4.2.15",
"@types/mocha": "^8.2.2",
"@types/node": "^14.14.37",
"@types/vscode": "^1.58.0",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"chai": "^4.3.4",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"mocha": "^8.3.2",
"prettier": "^2.2.1",
"typescript": "^4.2.3"
},
"dependencies": {
"osc-js": "^2.1.0",
"utf8": "^3.0.0",
"uuid": "^8.1.0"
}
}