-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
258 lines (258 loc) · 10.4 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
{
"name": "vslilypond",
"displayName": "VSLilyPond",
"publisher": "lhl2617",
"license": "SEE LICENSE IN README.md",
"repository": "https://github.com/lhl2617/VSLilyPond",
"description": "Provides syntax and error highlighting, compilation on save, MIDI (input and playback) support for LilyPond in VSCode. ",
"version": "1.7.3",
"icon": "assets/icon.png",
"engines": {
"vscode": "^1.46.0"
},
"categories": [
"Programming Languages",
"Linters"
],
"keywords": [
"lilypond",
"midi",
"music"
],
"extensionDependencies": [
"jeandeaual.lilypond-syntax",
"lhl2617.lilypond-snippets",
"lhl2617.lilypond-formatter",
"lhl2617.lilypond-pdf-preview"
],
"activationEvents": [
"onCommand:vslilypond.playMIDI",
"onCommand:vslilypond.playMIDIFrom",
"onCommand:vslilypond.stopMIDI",
"onCommand:vslilypond.pauseMIDI",
"onCommand:vslilypond.resumeMIDI",
"onCommand:vslilypond.resetMIDIOutput",
"onCommand:vslilypond.setOutputMIDIDevice",
"onCommand:vslilypond.startMIDIInput",
"onCommand:vslilypond.stopMIDIInput",
"onCommand:vslilypond.setInputMIDIDevice",
"onCommand:vslilypond.compile",
"onCommand:vslilypond.compileThisSpecificFile",
"onCommand:vslilypond.killCompilationProcess",
"onLanguage:lilypond"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "vslilypond.playMIDI",
"title": "VSLilyPond: MIDI Playback: Play (from start)",
"group": "MIDI Playback",
"description": "Play MIDI from the start. You can also use the `Play MIDI` button on the left of the status bar. MIDI Playback device is set using `VSLilyPond: MIDI Playback: Set output device` command."
},
{
"command": "vslilypond.playMIDIFrom",
"title": "VSLilyPond: MIDI Playback: Play from...",
"group": "MIDI Playback",
"description": "Play MIDI from a user-input timestamp. You can also use the `Play MIDI from...` button on the left of the status bar."
},
{
"command": "vslilypond.stopMIDI",
"title": "VSLilyPond: MIDI Playback: Stop",
"group": "MIDI Playback",
"description": "Stop MIDI playback. You can also use the `Stop MIDI` button on the left of the status bar."
},
{
"command": "vslilypond.pauseMIDI",
"title": "VSLilyPond: MIDI Playback: Pause",
"group": "MIDI Playback",
"description": "Pause MIDI playback. You can also use the `Pause MIDI` button on the left of the status bar."
},
{
"command": "vslilypond.resumeMIDI",
"title": "VSLilyPond: MIDI Playback: Resume",
"group": "MIDI Playback",
"description": "Resume MIDI playback. You can also use the `Play MIDI` button on the left of the status bar."
},
{
"command": "vslilypond.resetMIDIOutput",
"title": "VSLilyPond: MIDI Playback: Reset",
"group": "MIDI Playback",
"description": "Reset MIDI playback state."
},
{
"command": "vslilypond.setOutputMIDIDevice",
"title": "VSLilyPond: MIDI Playback: Set output device",
"group": "MIDI Playback",
"description": "Set workspace-folder specific MIDI output device for playback. You can also change this manually (for more scopes) in settings under `Vslilypond › Midi Playback: Output`."
},
{
"command": "vslilypond.startMIDIInput",
"title": "VSLilyPond: MIDI Input: Start MIDI input",
"group": "MIDI Input",
"description": "Start MIDI Input. You can also use the `Start MIDI Input` button on the right of the status bar. MIDI input device is set using `VSLilyPond: MIDI Playback: Set input device` command.`"
},
{
"command": "vslilypond.stopMIDIInput",
"title": "VSLilyPond: MIDI Input: Stop MIDI input",
"group": "MIDI Input",
"description": "Stop MIDI Input. You can also use the `Stop MIDI Input` button on the right of the status bar."
},
{
"command": "vslilypond.setInputMIDIDevice",
"title": "VSLilyPond: MIDI Input: Set input device",
"group": "MIDI Input",
"description": "Set workspace-folder specific MIDI input device for input. You can also change this manually (for more scopes) in settings under `Vslilypond › Midi Input: Input`."
},
{
"command": "vslilypond.restartMIDIInput",
"title": "VSLilyPond: MIDI Input: Restart MIDI Input",
"group": "MIDI Input",
"description": "Restart MIDI Input. Try this if the input stops working after changing your MIDI Input device/port."
},
{
"command": "vslilypond.compile",
"title": "VSLilyPond: Compile",
"group": "Compilation",
"description": "Compiles a main lilypond file (if specified in settings). Otherwise, compiles the currently active lilypond file. (Use `VSLilyPond: Compile this specific file` to compile the currently active file). See settings under `Vslilypond › Compilation` for additional settings."
},
{
"command": "vslilypond.compileThisSpecificFile",
"title": "VSLilyPond: Compile this specific file",
"group": "Compilation",
"description": "Compiles the currently active lilypond file. Use `VSLilyPond: Compile` to compile a main file if specified in settings."
},
{
"command": "vslilypond.killCompilationProcess",
"title": "VSLilyPond: Kill Compilation Process",
"group": "Compilation",
"description": "Kill the compilation process."
}
],
"configuration": {
"title": "VSLilyPond",
"properties": {
"vslilypond.general.pathToLilypond": {
"type": "string",
"default": "lilypond",
"group": "General",
"description": "Path to `lilypond` executable. Default (`lilypond`) assumes lilypond is in PATH variables. Reload required.",
"scope": "resource"
},
"vslilypond.intellisense.enabled": {
"type": "boolean",
"default": true,
"group": "Intellisense",
"description": "Displays errors as you type. Disable to improve performance. Reload required.",
"scope": "resource"
},
"vslilypond.compilation.compileOnSave": {
"type": "boolean",
"default": true,
"group": "Compilation",
"description": "Compiles file upon saving. Disable to improve performance. Reload required.",
"scope": "resource"
},
"vslilypond.compilation.compileMainFileOnSave": {
"type": "boolean",
"default": true,
"group": "Compilation",
"description": "If true, compiles main file set in `Vslilypond › Compilation › Path To Main Compilation File`, else, compiles the currently active file.",
"scope": "resource"
},
"vslilypond.compilation.additionalCommandLineArguments": {
"type": "string",
"default": "",
"group": "Compilation",
"description": "Additional command line arguments supplied to `lilypond` upon compilation. Note that `--loglevel=WARNING` is predefined. Intellisense also uses these arguments.",
"scope": "resource"
},
"vslilypond.compilation.pathToMainCompilationFile": {
"type": "string",
"default": "",
"group": "Compilation",
"description": "Relative path (from workspace folder root) of the file to compile when a document in a folder/workspace is saved. If none specified, the current active file is compiled.",
"scope": "resource"
},
"vslilypond.midiPlayback.output": {
"type": "string",
"default": "",
"group": "MIDI Playback",
"description": "MIDI Device used for output. If none specified, the first valid device is used. You can use the command `VSLilyPond: MIDI Playback: Set output device` to select a device from a list.",
"scope": "resource"
},
"vslilypond.midiInput.input": {
"type": "string",
"default": "",
"group": "MIDI Input",
"description": "MIDI Device used for input. If none specified, the first valid device is used. After changing, please run the `VSLilyPond: MIDI Input: Restart MIDI Input` command. You can alternatively use the command `VSLilyPond: MIDI Input: Set output device` to select a device from a list.",
"scope": "resource"
},
"vslilypond.midiInput.chordMode": {
"type": "boolean",
"default": false,
"group": "MIDI Input",
"description": "Chord mode in music entry. Registers notes that are pressed and held together as a chord instead of sequential notes.",
"scope": "resource"
},
"vslilypond.midiInput.relativeMode": {
"type": "boolean",
"default": false,
"group": "MIDI Input",
"description": "Relative mode (as opposed to absolute mode).",
"scope": "resource"
},
"vslilypond.midiInput.accidentals": {
"type": "string",
"default": "sharps",
"enum": [
"sharps",
"flats"
],
"enumDescriptions": [
"Treat accidentals as sharps.",
"Treat accidentals as flats."
],
"group": "MIDI Input",
"description": "Set accidentals as sharps/flats.",
"scope": "resource"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run test && npm run docs:gen",
"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",
"docs:gen": "ts-node ./src/docs-gen/main.ts",
"package": "vsce package"
},
"devDependencies": {
"@types/command-exists": "^1.2.0",
"@types/glob": "^7.1.4",
"@types/mocha": "^8.2.3",
"@types/node": "^15.14.9",
"@types/vscode": "1.46.0",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"eslint": "^7.32.0",
"eslint-plugin-prettier": "^3.4.1",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"prettier": "^2.4.0",
"ts-loader": "^9.2.5",
"ts-node": "^9.1.1",
"typescript": "^4.4.3",
"vsce": "^1.99.0",
"vscode-test": "^1.6.1"
},
"dependencies": {
"command-exists": "^1.2.9",
"file-type": "^16.5.3",
"jzz": "^1.4.0",
"jzz-midi-smf": "1.5.0"
}
}