-
-
Notifications
You must be signed in to change notification settings - Fork 119
/
package.json
454 lines (454 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
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
{
"name": "vscode-peacock",
"displayName": "Peacock",
"description": "Subtly change the workspace color of your workspace. Ideal when you have multiple VS Code instances and you want to quickly identify which is which.",
"version": "4.2.3",
"publisher": "johnpapa",
"license": "SEE LICENSE IN LICENSE.md",
"repository": {
"type": "git",
"url": "https://github.com/johnpapa/vscode-peacock.git"
},
"homepage": "https://github.com/johnpapa/vscode-peacock/blob/main/README.md",
"icon": "resources/peacock-icon.png",
"galleryBanner": {
"color": "#373436",
"theme": "dark"
},
"engines": {
"vscode": "^1.49.0"
},
"categories": [
"Other"
],
"keywords": [
"Theme",
"Colors",
"Fun"
],
"preview": false,
"activationEvents": [
"*"
],
"extensionKind": [
"ui",
"workspace"
],
"main": "./dist/extension-node.js",
"browser": "./dist/extension-web.js",
"contributes": {
"commands": [
{
"command": "peacock.docs",
"title": "Open the Documentation",
"category": "Peacock"
},
{
"command": "peacock.resetWorkspaceColors",
"title": "Reset Workspace Colors",
"category": "Peacock"
},
{
"command": "peacock.removeAllColors",
"title": "Remove All Global and Workspace Colors",
"category": "Peacock"
},
{
"command": "peacock.saveColorToFavorites",
"title": "Save Current Color to Favorites",
"category": "Peacock"
},
{
"command": "peacock.enterColor",
"title": "Enter a Color",
"category": "Peacock"
},
{
"command": "peacock.changeColorToPeacockGreen",
"title": "Color to Peacock Green",
"category": "Peacock"
},
{
"command": "peacock.addRecommendedFavorites",
"title": "Add the Recommended Favorites",
"category": "Peacock"
},
{
"command": "peacock.changeColorToRandom",
"title": "Surprise Me with a Random Color",
"category": "Peacock"
},
{
"command": "peacock.changeColorToFavorite",
"title": "Change to a Favorite Color",
"category": "Peacock"
},
{
"command": "peacock.darken",
"title": "Darken",
"category": "Peacock"
},
{
"command": "peacock.lighten",
"title": "Lighten",
"category": "Peacock"
},
{
"command": "peacock.showAndCopyCurrentColor",
"title": "Copy the Current Color to the Clipboard",
"category": "Peacock"
},
{
"command": "peacock.changeColorOfLiveShareHost",
"title": "Change Live Share Color (Host)",
"category": "Peacock"
},
{
"command": "peacock.changeColorOfLiveShareGuest",
"title": "Change Live Share Color (Guest)",
"category": "Peacock"
}
],
"keybindings": [
{
"key": "alt+cmd+-",
"command": "peacock.darken"
},
{
"key": "alt+cmd+=",
"command": "peacock.lighten"
}
],
"menus": {
"commandPalette": [
{
"command": "peacock.docs"
},
{
"command": "peacock.changeColorOfLiveShareHost",
"when": "workspaceFolderCount != 0 && peacock:liveshare == true"
},
{
"command": "peacock.changeColorOfLiveShareGuest",
"when": "workspaceFolderCount != 0 && peacock:liveshare == true"
},
{
"command": "peacock.resetWorkspaceColors",
"when": "workspaceFolderCount != 0"
},
{
"command": "peacock.removeAllColors",
"when": "workspaceFolderCount != 0"
},
{
"command": "peacock.saveColorToFavorites",
"when": "workspaceFolderCount != 0"
},
{
"command": "peacock.enterColor",
"when": "workspaceFolderCount != 0"
},
{
"command": "peacock.changeColorToPeacockGreen",
"when": "workspaceFolderCount != 0"
},
{
"command": "peacock.addRecommendedFavorites",
"when": "workspaceFolderCount != 0"
},
{
"command": "peacock.changeColorToRandom",
"when": "workspaceFolderCount != 0"
},
{
"command": "peacock.changeColorToFavorite",
"when": "workspaceFolderCount != 0"
},
{
"command": "peacock.darken",
"when": "workspaceFolderCount != 0"
},
{
"command": "peacock.lighten",
"when": "workspaceFolderCount != 0"
},
{
"command": "peacock.showAndCopyCurrentColor",
"when": "workspaceFolderCount != 0"
}
]
},
"configuration": {
"properties": {
"peacock.squigglyBeGone": {
"type": "boolean",
"default": false,
"description": "Easter egg! Specifies whether Peacock should hide all red error, warning and info underlines from the editor by making their color the same as the background."
},
"peacock.affectEditorGroupBorder": {
"type": "boolean",
"default": false,
"description": "Specifies whether Peacock should affect the editorGroup border."
},
"peacock.affectPanelBorder": {
"type": "boolean",
"default": false,
"description": "Specifies whether Peacock should affect the panel border."
},
"peacock.affectSideBarBorder": {
"type": "boolean",
"default": false,
"description": "Specifies whether Peacock should affect the sideBar border."
},
"peacock.affectSashHover": {
"type": "boolean",
"default": true,
"description": "Specifies whether Peacock should affect the sash border."
},
"peacock.affectActivityBar": {
"type": "boolean",
"default": true,
"description": "Specifies whether Peacock should affect the activity bar."
},
"peacock.affectDebuggingStatusBar": {
"type": "boolean",
"default": false,
"description": "Specifies whether Peacock should affect the status bar while debugging."
},
"peacock.affectStatusBar": {
"type": "boolean",
"default": true,
"description": "Specifies whether Peacock should affect the status bar."
},
"peacock.affectStatusAndTitleBorders": {
"type": "boolean",
"default": false,
"description": "Specifies whether Peacock should affect the status or title borders."
},
"peacock.affectTabActiveBorder": {
"type": "boolean",
"default": false,
"description": "Specifies whether Peacock should affect the active tab's border."
},
"peacock.affectTitleBar": {
"type": "boolean",
"default": true,
"description": "Specifies whether Peacock should affect the title bar."
},
"peacock.color": {
"type": "string",
"default": "",
"description": "The Peacock color that will be applied to workspaces. This should only be set at the workspace level."
},
"peacock.elementAdjustments": {
"type": "object",
"properties": {
"titleBar": {
"type": "string",
"enum": [
"none",
"lighten",
"darken"
]
},
"activityBar": {
"type": "string",
"enum": [
"none",
"lighten",
"darken"
]
},
"statusBar": {
"type": "string",
"enum": [
"none",
"lighten",
"darken"
]
}
},
"default": {
"activityBar": "lighten",
"statusBar": "none",
"titleBar": "none"
},
"description": "Adjusts the colorization of affected elements to provide visual contrast"
},
"peacock.favoriteColors": {
"type": "array",
"default": [
{
"name": "Angular Red",
"value": "#dd0531"
},
{
"name": "Azure Blue",
"value": "#007fff"
},
{
"name": "JavaScript Yellow",
"value": "#f9e64f"
},
{
"name": "Mandalorian Blue",
"value": "#1857a4"
},
{
"name": "Node Green",
"value": "#215732"
},
{
"name": "React Blue",
"value": "#61dafb"
},
{
"name": "Something Different",
"value": "#832561"
},
{
"name": "Svelte Orange",
"value": "#ff3d00"
},
{
"name": "Vue Green",
"value": "#42b883"
}
],
"items": {
"type": "object"
},
"description": "Your favorite colors"
},
"peacock.keepBadgeColor": {
"type": "boolean",
"default": false,
"description": "Recommended to remain false. However, when set to true Peacock will not colorize badges in any of the affected elements in response to background alterations"
},
"peacock.darkenLightenPercentage": {
"type": "number",
"default": 5,
"minimum": 1,
"maximum": 10,
"description": "Specifies the amount to darken or lighten the color, in percentage"
},
"peacock.darkForegroundColor": {
"type": "string",
"default": "#15202b",
"description": "Specifies the override value for the dark foreground color"
},
"peacock.keepForegroundColor": {
"type": "boolean",
"default": false,
"description": "Recommended to remain false. However, when set to true Peacock will not colorize the foreground of any of the affected elements and will only alter the background"
},
"peacock.lightForegroundColor": {
"type": "string",
"default": "#e7e7e7",
"description": "Specifies the override value for the light foreground color"
},
"peacock.remoteColor": {
"type": "string",
"default": "",
"description": "The Peacock color that will be applied to remote workspaces."
},
"peacock.showColorInStatusBar": {
"type": "boolean",
"default": true,
"description": "Show the Peacock color in the status bar"
},
"peacock.surpriseMeFromFavoritesOnly": {
"type": "boolean",
"default": false,
"description": "Specifies whether Peacock should choose a random color from the favorites list or a purely random color."
},
"peacock.surpriseMeOnStartup": {
"type": "boolean",
"default": false,
"description": "Specifies that Peacock should surprise you at the start of every editing session, only when a color isn't already set. "
},
"peacock.vslsJoinColor": {
"type": "string",
"default": "",
"description": "Peacock color for Live Share Color when acting as a Guest "
},
"peacock.vslsShareColor": {
"type": "string",
"default": "",
"description": "Peacock color for Live Share Color when acting as a Host "
}
}
}
},
"scripts": {
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"package": "npx vsce package",
"publish": "npx vsce publish",
"vscode:prepublish": "webpack --mode production",
"lint": "eslint ./src --ext .js,.ts",
"lint-fix": "eslint ./src --ext .js,.ts --fix",
"webpack": "webpack --mode none",
"watch": "webpack --mode none --watch",
"pretty": "npx prettier@2 src/. --write",
"just-test": "node ./out/test/runTest.js",
"just-live-share-test": "node out/live-share/test/runTest.js",
"test-compile": "tsc -p ./ && npm run webpack",
"test": "npm run test-compile && npm run just-test",
"test-all": "npm run test && npm run just-live-share-test",
"test:coverage": "npm run just-test -- --coverage",
"open-in-browser": "npx vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ."
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/istanbul-lib-instrument": "^1.7.4",
"@types/istanbul-lib-report": "^1.1.1",
"@types/istanbul-lib-source-maps": "^1.2.2",
"@types/istanbul-reports": "^1.1.2",
"@types/mocha": "^7.0.2",
"@types/node": "12.12.16",
"@types/sinon": "^7.5.2",
"@types/vscode": "^1.49.0",
"@types/webpack-env": "^1.16.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"@vscode/test-web": "^0.0.15",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-prettier": "^3.1.4",
"glob": "^7.1.6",
"husky": "^4.3.0",
"istanbul-lib-coverage": "^3.0.0",
"istanbul-lib-instrument": "^3.3.0",
"istanbul-lib-report": "^2.0.8",
"istanbul-lib-source-maps": "^3.0.6",
"istanbul-reports": "^3.0.2",
"mocha": "^7.2.0",
"mocha-multi-reporters": "^1.1.7",
"prettier": "^2.1.2",
"process": "^0.11.10",
"sinon": "^9.1.0",
"ts-loader": "^9.2.2",
"typescript": "^3.9.7",
"vscode-test": "^1.4.0",
"vuepress": "^2.0.0-beta.26",
"webpack": "^5.38.1",
"webpack-cli": "^4.7.0"
},
"dependencies": {
"@types/tinycolor2": "^1.4.1",
"tinycolor2": "^1.4.2",
"vsls": "^1.0.2594"
},
"husky": {
"hooks": {
"pre-commit": "npm run pretty"
}
},
"__metadata": {
"id": "5a7017bf-c571-4d77-b902-6e56b16f539a",
"publisherDisplayName": "John Papa",
"publisherId": "4434843a-4ebf-4f44-84f5-4176380c492d",
"isPreReleaseVersion": false
}
}