-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
213 lines (213 loc) · 6.24 KB
/
package.json
File metadata and controls
213 lines (213 loc) · 6.24 KB
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
{
"name": "soundsyntax",
"displayName": "Sound Syntax",
"description": "Sound Syntax is a Visual Studio Code extension that plays audio cues when the cursor hovers over beginning of token in your code.",
"version": "0.2.1",
"publisher": "EmreCebeci",
"repository": {
"type": "git",
"url": "https://github.com/ecebeci/SoundSyntax"
},
"engines": {
"vscode": "^1.94.0"
},
"categories": ["Other"],
"icon": "images/icon.png",
"pricing": "Free",
"license": "GPL-3.0-only",
"activationEvents": ["onStartupFinished"],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "soundSyntax.toggle",
"title": "Sound Syntax: Disable/Enable Extension"
},
{
"command": "soundSyntax.setVolume",
"title": "Sound Syntax: Set Volume"
},
{
"command": "soundSyntax.toggleNotification",
"title": "Sound Syntax: Enable/Disable All Information Notifications"
},
{
"command": "soundSyntax.currentTokenType",
"title": "Sound Syntax: Get Current Token Type"
},
{
"command": "soundSyntax.tokenSettings",
"title": "Sound Syntax: Token Settings"
}
],
"configuration": {
"title": "Sound Syntax",
"properties": {
"soundSyntax.enable": {
"type": "boolean",
"default": true,
"description": "Disable/Enable Sound Syntax"
},
"soundSyntax.volume": {
"type": "number",
"default": 100,
"minimum": 1,
"maximum": 100,
"description": "Volume of the sound. Value should be between 1 and 100."
},
"soundSyntax.notificationMessage": {
"type": "boolean",
"default": false,
"description": "Disable/Enable All Notification Message"
},
"soundSyntax.tokens": {
"type": "array",
"description": "List of tokens with settings for sound, warnings, and sound path.",
"items": {
"type": "object",
"properties": {
"tokenLabel": {
"type": "string",
"description": "Label or name of the token."
},
"enableSound": {
"type": "boolean",
"description": "Enable or disable sound for this token."
},
"enableInformation": {
"type": "boolean",
"description": "Show an information message for this token."
},
"audioFilePath": {
"type": "string",
"description": "File path to the sound for this token.",
"default": ""
},
"overrideInformationText": {
"type": "string",
"description": "Override the information message for this token.",
"default": ""
}
},
"required": ["tokenLabel", "enableSound", "enableInformation"]
},
"default": [
{
"tokenLabel": "function",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "variable",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "method",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "parameter",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "interface",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "type",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "enum",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "enumMember",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "property",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "keyword",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "string",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "number",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "boolean",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "comment",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "punctuation",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "operator",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "field",
"enableSound": true,
"enableInformation": true
},
{
"tokenLabel": "class",
"enableSound": false,
"enableInformation": true
}
]
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "npx @biomejs/biome lint --write src",
"format": "npx @biomejs/biome format --write src",
"test": "vscode-test",
"deploy": "npx vsce publish"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/mocha": "^10.0.8",
"@types/node": "20.x",
"@types/vscode": "^1.94.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"typescript": "^5.6.2"
},
"dependencies": {
"audio-decode": "^2.2.2",
"node-web-audio-api": "^0.21.3"
}
}