-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
363 lines (363 loc) · 14.1 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
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
{
"name": "code-background",
"displayName": "Background",
"description": "The most advanced background image extension for VSCode",
"icon": "assets/icon-sm.png",
"galleryBanner": {
"color": "#0098FF",
"theme": "dark"
},
"publisher": "Katsute",
"version": "3.0.2",
"private": true,
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Other"
],
"keywords": [
"bg",
"bk",
"background",
"cover",
"theme",
"image",
"gif"
],
"activationEvents": [
"onStartupFinished"
],
"extensionKind": [
"ui"
],
"contributes": {
"commands": [
{
"command": "background.install",
"title": "Install",
"category": "Background"
},
{
"command": "background.uninstall",
"title": "Uninstall",
"category": "Background"
},
{
"command": "background.reload",
"title": "Reload",
"category": "Background"
},
{
"command": "background.config",
"title": "Configuration",
"category": "Background"
},
{
"command": "background.changelog",
"title": "Changelog",
"category": "Background"
},
{
"command": "background.help",
"title": "Help",
"category": "Background"
}
],
"configuration": {
"title": "Background",
"order": 0,
"properties": {
"background.windowBackgrounds": {
"markdownDescription": "The list of files, globs, or URLs to pull background images from.\n\n* Use only `/` for directories, `\\` is reserved for escape characters.\n\n* Image URLs must be served over HTTPS.",
"type": "array",
"order": 0,
"default": [],
"items": {
"type": "string"
}
},
"background.editorBackgrounds": {
"markdownDescription": "The list of files, globs, or URLs to pull background images from.\n\n* Use only `/` for directories, `\\` is reserved for escape characters.\n\n* Image URLs must be served over HTTPS.",
"type": "array",
"order": 1,
"default": [],
"items": {
"type": "string"
}
},
"background.sidebarBackgrounds": {
"markdownDescription": "The list of files, globs, or URLs to pull background images from.\n\n* Use only `/` for directories, `\\` is reserved for escape characters.\n\n* Image URLs must be served over HTTPS.",
"type": "array",
"order": 2,
"default": [],
"items": {
"type": "string"
}
},
"background.panelBackgrounds": {
"markdownDescription": "The list of files, globs, or URLs to pull background images from.\n\n* Use only `/` for directories, `\\` is reserved for escape characters.\n\n* Image URLs must be served over HTTPS.",
"type": "array",
"order": 3,
"default": [],
"items": {
"type": "string"
}
},
"background.backgroundAlignment": {
"markdownDescription": "The background image alignment.",
"type": "array",
"order": 4,
"default": [
"Center Center",
"Center Center",
"Center Center",
"Center Center"
],
"minItems": 4,
"maxItems": 4,
"items": {
"type": "string",
"enum": [
"Top Left",
"Top Center",
"Top Right",
"Center Left",
"Center Center",
"Center Right",
"Bottom Left",
"Bottom Center",
"Bottom Right",
"Manual"
]
}
},
"background.backgroundAlignmentValue": {
"markdownDescription": "If `#background.backgroundAlignment#` is set to `Manual`, this is the literal value for the `background-position` css property.",
"type": "array",
"order": 5,
"default": [
"50%",
"50%",
"50%",
"50%"
],
"minItems": 4,
"maxItems": 4,
"items": {
"type": "string",
"pattern": "^[\\w.% +-]*$"
}
},
"background.backgroundBlur": {
"markdownDescription": "The background image blur amount in css units.",
"type": "array",
"order": 6,
"default": [
"0",
"0",
"0",
"0"
],
"minItems": 4,
"maxItems": 4,
"items": {
"type": "string",
"pattern": "^[\\w.% +-]*$"
}
},
"background.backgroundOpacity": {
"markdownDescription": "The background opacity, make sure this number is not to high, otherwise you may not be able to see the UI and revert this change.\n\n`1` is fully visible and `0` is invisible. If `#background.useInvertedOpacity#` is true, this logic is inverted.",
"type": "array",
"order": 7,
"default": [
0.1,
0.1,
0.1,
0.1
],
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"background.backgroundRepeat": {
"markdownDescription": "The background image repeat.",
"type": "array",
"order": 8,
"default": [
"No Repeat",
"No Repeat",
"No Repeat",
"No Repeat"
],
"minItems": 4,
"maxItems": 4,
"items": {
"type": "string",
"enum": [
"No Repeat",
"Repeat",
"Repeat X",
"Repeat Y",
"Repeat Space",
"Repeat Round"
],
"enumDescriptions": [
"Do not repeat",
"Repeat X/Y",
"Repeat X",
"Repeat Y",
"Repeat with even spacing to fill the screen",
"Repeat and stretch images to fill the screen"
]
}
},
"background.backgroundSize": {
"markdownDescription": "The background image size.",
"type": "array",
"order": 9,
"default": [
"Cover",
"Cover",
"Cover",
"Cover"
],
"minItems": 4,
"maxItems": 4,
"items": {
"type": "string",
"enum": [
"Auto",
"Contain",
"Cover",
"Manual"
],
"enumDescriptions": [
"Original image size",
"Fit image to the screen",
"Stretch image to fill the screen",
"Manual size"
]
}
},
"background.backgroundSizeValue": {
"markdownDescription": "If `#background.windowBackgroundSize#` is set to `Manual`, this is the literal value for the `background-size` css property.",
"type": "array",
"order": 10,
"default": [
"100%",
"100%",
"100%",
"100%"
],
"minItems": 4,
"maxItems": 4,
"items": {
"type": "string",
"pattern": "^[\\w.% +-]*$"
}
},
"background.backgroundChangeTime": {
"markdownDescription": "How long in seconds before the background should automatically change.\n\nSet to `0` to always use the same image.",
"type": "array",
"order": 11,
"default": [
0,
0,
0,
0
],
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number",
"minimum": 0
}
},
"background.autoInstall": {
"markdownDescription": "Automatically installs backgrounds and reloads the window on startup if changes are detected or VSCode updates.\n\nThis option is disabled when you run the uninstall command.",
"order": 12,
"type": "boolean",
"default": false
},
"background.renderContentAboveBackground": {
"markdownDescription": "Render content like images, PDFs, and markdown previews above the background.",
"order": 13,
"type": "boolean",
"default": false
},
"background.useInvertedOpacity": {
"markdownDescription": "Use an inverted opacity, so 0 is fully visible and 1 is invisible.",
"order": 14,
"type": "boolean",
"default": false
},
"background.smoothImageRendering": {
"markdownDescription": "Use smooth image rendering rather than pixelated rendering when resizing images.",
"order": 15,
"type": "boolean",
"default": false
},
"background.settingScope": {
"markdownDescription": "Where to save and load background settings.\n\nThis does not automatically update the background on workspace change, you need to also turn on `#background.autoInstall#`.",
"order": 16,
"type": "string",
"enum": [
"Global",
"Workspace"
],
"default": "Global"
},
"background.CSS": {
"markdownDescription": "Apply raw CSS to VSCode.",
"order": 17,
"type": "string",
"editPresentation": "multilineText",
"default": ""
}
}
}
},
"main": "dist/index.js",
"scripts": {
"// -- dev -- //": "",
"clean": "rimraf --glob dist & rimraf --glob code-background-*.vsix",
"prune": "npm prune && npm i --package-lock --ignore-scripts",
"update": "npm update -D && npm i --package-lock --ignore-scripts && npm run prune",
"// -- build -- //": "",
"vscode:prepublish": "npm run prepare",
"build:esbuild": "esbuild src/extension.ts --bundle --outfile=dist/index.js --external:vscode --format=cjs --platform=node --minify --legal-comments=none --metafile=meta.json",
"build:post": "node build.js",
"build": "tsc --noEmit && npm run build:esbuild && npm run build:post",
"prepare": "npm run clean && npm run build",
"// -- deploy -- //": "",
"package": "vsce package"
},
"repository": {
"type": "git",
"url": "git+https://github.com/KatsuteDev/Background.git"
},
"author": "Katsute",
"license": "GPL-2.0-only",
"bugs": {
"url": "https://github.com/KatsuteDev/Background/issues"
},
"homepage": "https://github.com/KatsuteDev/Background#readme",
"devDependencies": {
"@types/node": "22.9.0",
"@types/tmp": "0.2.6",
"@types/vscode": "1.95.0",
"@vscode/sudo-prompt": "9.3.1",
"@vscode/test-electron": "2.4.1",
"@vscode/vsce": "3.2.1",
"esbuild": "0.24.0",
"glob": "11.0.0",
"rimraf": "6.0.1",
"tmp": "0.2.3",
"typescript": "5.6.3"
}
}