forked from llloret/sonic-pi-vscode-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
182 lines (182 loc) · 4.55 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
{
"name": "sonicpieditor",
"publisher": "Luis Lloret",
"displayName": "SonicPiEditor",
"description": "An editor for Sonic Pi",
"version": "0.0.1",
"engines": {
"vscode": "^1.45.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "sonicpieditor.startserver",
"title": "Start Server",
"category": "Sonic Pi"
},
{
"command": "sonicpieditor.run",
"title": "Run",
"category": "Sonic Pi"
},
{
"command": "sonicpieditor.runselected",
"title": "Run selected text",
"category": "Sonic Pi"
},
{
"command": "sonicpieditor.stop",
"title": "Stop",
"category": "Sonic Pi"
},
{
"command": "sonicpieditor.togglerecording",
"title": "Toggle recording",
"category": "Sonic Pi"
}
],
"menus": {
"editor/title": [
{
"command": "sonicpieditor.togglerecording"
}
]
},
"keybindings": [
{
"command": "sonicpieditor.run",
"key": "alt+r",
"mac": "cmd+r",
"when": "editorTextFocus"
},
{
"command": "sonicpieditor.runselected",
"key": "alt+t",
"mac": "cmd+t",
"when": "editorTextFocus"
},
{
"command": "sonicpieditor.stop",
"key": "alt+s",
"mac": "cmd+s"
},
{
"command": "sonicpieditor.togglerecording",
"key": "shift+alt+r",
"mac": "shift+cmd+r"
}
],
"snippets": [
{
"language": "ruby",
"path": "./snippets/sonic-pi-snippets.json"
}
],
"configuration": {
"title": "Sonic Pi",
"properties": {
"sonicpieditor.sonicPiRootDirectory": {
"type": "string",
"description": "Set Sonic Pi installation directory.\nOnly use this if the default does not work for you."
},
"sonicpieditor.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..."
},
"sonicpieditor.launchSonicPiServerCustomExtension": {
"type": "string",
"description": "If the Launch server automatically setting is set to custom, what extension triggers the launch?"
},
"sonicpieditor.runFileWhenRunSelectedIsEmpty": {
"type": "string",
"enum": [
"always",
"never"
],
"description": "If there is no selection when Run selected is triggered, run the whole file"
},
"sonicpieditor.invertStereo": {
"type": "boolean",
"default": false,
"description": "Invert stereo"
},
"sonicpieditor.forceMono": {
"type": "boolean",
"default": false,
"description": "Force mono output"
},
"sonicpieditor.safeMode": {
"type": "boolean",
"default": true,
"description": "Synth argument checking functions.\nIf disabled, certain synth opt values may\ncreate unexpectedly loud or uncomfortable sounds."
},
"sonicpieditor.logAutoscroll": {
"type": "boolean",
"default": true,
"description": "Autoscroll the log"
},
"sonicpieditor.logClearOnRun": {
"type": "boolean",
"default": true,
"description": "Clear the log when executing a run"
},
"sonicpieditor.flashBackgroundColor": {
"type": "string",
"default": "rgba(255,20,147,1.0)",
"description": "Background flash color when running code"
},
"sonicpieditor.flashTextColor": {
"type": "string",
"default": "rgba(255,255,255,1.0)",
"description": "Text flash color when running code"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.13.9",
"@types/vscode": "^1.45.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"osc-js": "2.1.0",
"utf8": "^3.0.0",
"uuid": "8.1.0"
}
}