-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
335 lines (335 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
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
{
"name": "jutsu-power",
"displayName": "jutsu-power",
"description": "that enable jutsu in you texteditor",
"version": "0.0.1",
"engines": {
"vscode": "^1.22.0"
},
"categories": [
"Themes",
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "2.2.32",
"@types/node": "17.0.21",
"mocha": "2.3.3",
"typescript": "4.5.5",
"vsce": "1.103.1",
"vscode": "1.1.37"
},
"contributes": {
"commands": [
{
"command": "jutsu-power.enablejutsupower",
"title": "Enable jutsu power",
"when": "!config.jutsu-power.enabled",
"enablement": "!config.jutsu-power.enabled"
},
{
"command": "jutsu-power.disablejutsupower",
"title": "Disable jutsu power",
"when": "config.jutsu-power.enabled",
"enablement": "config.jutsu-power.enabled"
}
],
"configuration": [
{
"title": "General",
"order": 0,
"properties": {
"jutsu-power.enabled": {
"order": 0,
"default": false,
"type": "boolean",
"description": "Enable to activate jutsu power!!!"
},
"jutsu-power.presets": {
"order": 1,
"type": "string",
"enum": [
"particles",
"fireworks",
"flames",
"tieJutsu",
"flashJutsu",
"kakasiJutsu",
"kamabuntai",
"magic",
"clippy",
"simple-rift",
"exploding-rift"
],
"default": "particles",
"description": "Choose between different preset gifs to use when jutsupower is activated"
}
}
},
{
"title": "Combo",
"order": 1,
"properties": {
"jutsu-power.combo.location": {
"order": 0,
"type": "string",
"default": "off",
"enum": [
"editor",
"statusbar",
"default",
"off"
],
"enumDescriptions": [
"Show the combo in the editor. The true 'jutsu power' experience",
"Use the status bar. A more subdued experience.",
"Use the default value. May be overiddent by other settings.",
"Turn off the combo entirely."
],
"description": "Control where all the combo information is visible."
},
"jutsu-power.combo.threshold": {
"default": 0,
"type": "number",
"description": "The combo number needed to activate jutsu power!!! and start shaking and exploding the screen! If the value is 0, jutsu power will always be active."
},
"jutsu-power.combo.timeout": {
"default": 10,
"type": "number",
"description": "The number of seconds before the combo resets. If the value is 0, the timer will never reset."
},
"jutsu-power.combo.counterEnabled": {
"type": "string",
"default": "default",
"enum": [
"show",
"hide",
"default"
],
"enumDescriptions": [
"Show the combo counter",
"Hide the combo counter",
"Use the default value. May be overridden by other settings."
],
"description": "Control whether the combo counter is visible."
},
"jutsu-power.combo.counterSize": {
"type": "number",
"default": 3,
"minimum": 0,
"description": "Control the size of the Combo Meter text"
},
"jutsu-power.combo.timerEnabled": {
"type": "string",
"default": "default",
"enum": [
"show",
"hide",
"default"
],
"enumDescriptions": [
"Show the combo timer",
"Hide the combo timer",
"Use the default value. May be overridden by other settings."
],
"description": "Control whether the combo timer is visible."
}
}
},
{
"title": "Shake",
"order": 2,
"properties": {
"jutsu-power.shake.enabled": {
"order": 0,
"type": "boolean",
"default": true,
"description": "Set to false to disable shaking while typing"
},
"jutsu-power.shake.intensity": {
"type": "number",
"default": 3,
"description": "The intensity with which the screen shakes"
}
}
},
{
"title": "Explosions",
"order": 3,
"properties": {
"jutsu-power.explosions.enabled": {
"order": 0,
"type": "boolean",
"default": true,
"description": "Set to false to disable explosions while typing"
},
"jutsu-power.explosions.maxExplosions": {
"type": "number",
"default": 1,
"description": "The maximum number of simultaneous explosions"
},
"jutsu-power.explosions.size": {
"type": "number",
"default": 6,
"description": "The size of the explosions. For value X, the height is set to X rem and the width to X ch"
},
"jutsu-power.explosions.frequency": {
"type": "number",
"default": 2,
"description": "The number of key strokes needed to trigger an explosion. 2 means every second keystroke will explode, 1 means every key stroke."
},
"jutsu-power.explosions.offset": {
"type": "number",
"default": 0.35,
"description": "The vertical offset of the explosions. Increasing it will move the explosions up, decreasing it will move them down."
},
"jutsu-power.explosions.customExplosions": {
"order": 16,
"type": "array",
"items": "string",
"default": [],
"markdownDescription": "This value will go into the 'url()' part of a background image. It should be a base64 encoded gif or **https** URL _without_ quotes."
},
"jutsu-power.explosions.backgroundMode": {
"type": "string",
"default": "mask",
"enum": [
"mask",
"image"
],
"enumDescriptions": [
"Uses the gifs as a mask to let the background color come through (similar to atom jutsu power)",
"Display the actual gif."
],
"description": "Affects the css properties used to display the gif."
},
"jutsu-power.explosions.gifMode": {
"type": "string",
"default": "continue",
"enum": [
"continue",
"restart"
],
"enumDescriptions": [
"Resume playing it from its previous point",
"Restart the gif each time it is shown. This is useful when you have multiple visible gifs, but may reduce performance"
],
"description": "Control the 'playback' mode of the gifs."
},
"jutsu-power.explosions.explosionOrder": {
"description": "Determines how the explosions are cycled. 'random' (default) picks from the list randomly. 'sequential' goes through the list in order, and a number will select the explosion at that (zero based)index in the list",
"oneOf": [
{
"type": "string",
"enum": [
"random",
"sequential"
]
},
{
"type": "number"
}
],
"default": "random"
},
"jutsu-power.explosions.duration": {
"description": "Determines how long an explosion lasts (in milliseconds). Set to 0 for it to last forever.",
"type": "number",
"default": 1000
},
"jutsu-power.explosions.customCss": {
"description": "Set custom CSS that will apply to the explosion element.",
"type": "object",
"default": {}
}
}
},
{
"title": "Deprecated",
"properties": {
"jutsu-power.comboThreshold": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.combo.threshold` instead."
},
"jutsu-power.comboTimeout": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.combo.timeout` instead."
},
"jutsu-power.enableComboCounter": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.combo.counterEnabled` instead."
},
"jutsu-power.enableComboTimer": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.combo.timerEnabled` instead."
},
"jutsu-power.enableStatusBarComboCounter": {
"default": null,
"description": "Set to false to disable showing the combo in the statusbar",
"markdownDeprecationMessage": "Use `jutsu-power.combo.location` and `jutsu-power.combo.counterEnabled` instead. This will be removed in a future version."
},
"jutsu-power.enableStatusBarComboTimer": {
"default": null,
"description": "Set to false to disable showing the timer in the statusbar",
"markdownDeprecationMessage": "Use `jutsu-power.combo.location` and `jutsu-power.combo.timerEnabled` instead. This will be removed in a future version."
},
"jutsu-power.enableShake": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.shake.enabled` instead."
},
"jutsu-power.shakeIntensity": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.shake.intensity` instead."
},
"jutsu-power.explosionSize": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.explosions.size` instead."
},
"jutsu-power.explosionFrequency": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.explosions.frequency` instead."
},
"jutsu-power.explosionOffset": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.explosions.offset` instead."
},
"jutsu-power.customExplosions": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.explosions.customExplosions` instead."
},
"jutsu-power.backgroundMode": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.explosions.backgroundMode` instead."
},
"jutsu-power.gifMode": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.explosions.gifMode` instead."
},
"jutsu-power.explosionOrder": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.explosions.explosionOrder` instead."
},
"jutsu-power.explosionDuration": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.explosions.duration` instead."
},
"jutsu-power.customCss": {
"default": null,
"markdownDeprecationMessage": "Deprecated. Use `jutsu-power.explosions.customCss` instead."
}
}
}
]
}
}