-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
202 lines (202 loc) · 6.66 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
{
"name": "csound-vscode-plugin",
"displayName": "Csound",
"description": "Csound language plugin for Visual Studio Code",
"version": "0.6.4",
"publisher": "kunstmusik",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages"
],
"main": "./dist/extension.js",
"browser": "./dist/web/extension.js",
"contributes": {
"commands": [
{
"command": "extension.csoundPlayActiveDocument",
"title": "Csound: Play Active Document"
},
{
"command": "extension.csoundKillCsoundProcess",
"title": "Csound: Terminate any running csound subprocess"
},
{
"command": "extension.csoundEvalOrc",
"title": "Csound: Evaluate Orchestra Code"
},
{
"command": "extension.csoundEvalSco",
"title": "Csound: Evaluate Score Code"
},
{
"command": "extension.showOpcodeReference",
"title": "Csound: Show Csound help"
}
],
"configuration": {
"title": "Csound",
"properties": {
"csound.executable": {
"type": "string",
"default": "csound",
"description": "The csound executable"
},
"csound.playArgs": {
"type": "array",
"default": [
"-odac"
],
"description": "Arguments to csound when used for playing the current file. An array of strings, each element an argument including the leading dash."
},
"csound.saveSilentlyOnPlay": {
"type": "boolean",
"default": false,
"description": "Save without prompting before playing the current file."
},
"csound.UDPAddress": {
"type": "string",
"default": "127.0.0.1",
"description": "Server address to send live coding evaluations over UDP. "
},
"csound.UDPPort": {
"type": "number",
"default": 10000,
"description": "Port to send live coding evaluations over UDP."
},
"csound.showHints": {
"type": "boolean",
"default": true,
"description": "Displays syntax hints."
},
"csound.htmlFilePath": {
"type": "string",
"default": "",
"description": "The path to the directory containing HTML opcode files."
}
}
},
"languages": [
{
"id": "csound-orc",
"aliases": [
"Csound ORC",
"csound-orc"
],
"extensions": [
".orc",
".udo",
".instr"
],
"configuration": "./language-configuration.json"
},
{
"id": "csound-sco",
"aliases": [
"Csound SCO",
"csound-sco"
],
"extensions": [
".sco"
],
"configuration": "./language-configuration.json"
},
{
"id": "csound-csd",
"aliases": [
"Csound CSD",
"csound-csd"
],
"extensions": [
".csd"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "csound-orc",
"scopeName": "source.csound.orc",
"path": "./syntaxes/csound-orc.tmLanguage.json"
},
{
"language": "csound-sco",
"scopeName": "source.csound.sco",
"path": "./syntaxes/csound-sco.tmLanguage.json"
},
{
"language": "csound-csd",
"scopeName": "source.csound.csd",
"path": "./syntaxes/csound-csd.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.json": "json"
}
}
],
"configurationDefaults": {
"[csound-csd]": {
"editor.suggestOnTriggerCharacters": true
}
},
"keybindings": [
{
"command": "extension.csoundPlayActiveDocument",
"key": "alt+.",
"when": "editorFocus"
},
{
"command": "extension.csoundKillCsoundProcess",
"key": "alt+escape",
"when": "editorFocus"
},
{
"command": "extension.csoundEvalOrc",
"key": "ctrl+enter",
"mac": "cmd+enter",
"when": "editorTextFocus"
}
],
"snippets": [
{
"language": "csound-csd",
"path": "./snippets/csd-snippets.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p -w . --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "^14.18.63",
"@types/vscode": "^1.75.0",
"@types/webpack-env": "^1.18.5",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@vscode/test-electron": "^1.6.2",
"@vscode/test-web": "^0.0.8",
"assert": "^2.1.0",
"eslint": "^7.32.0",
"glob": "^7.2.3",
"mocha": "^9.2.2",
"process": "^0.11.10",
"ts-loader": "^9.5.1",
"typescript": "^4.9.5",
"webpack": "^5.95.0",
"webpack-cli": "^4.10.0"
},
"repository": {
"type": "git",
"url": "https://github.com/csound/csound-vscode-plugin.git"
}
}