-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
195 lines (195 loc) · 6.5 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
{
"name": "background-cover",
"displayName": "background-cover",
"description": "Add a picture you like to cover the entire vscode..",
"version": "2.6.2",
"publisher": "manasxx",
"engines": {
"vscode": "^1.38.0"
},
"one_title": true,
"icon": "resources/background-cover.png",
"galleryBanner": {
"color": "#03385a",
"theme": "dark"
},
"categories": [
"Other"
],
"keywords": [
"Background",
"Theme"
],
"activationEvents": [
"*"
],
"license": "ISC",
"main": "./out/extension",
"extensionKind": [
"ui"
],
"contributes": {
"commands": [
{
"command": "extension.backgroundCover.start",
"title": "backgroundCover - start"
},
{
"command": "extension.backgroundCover.refresh",
"title": "backgroundCover - refresh"
},
{
"command": "backgroundCover.refreshEntry",
"title": "刷新",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "backgroundCover.home",
"title": "首页",
"icon": {
"light": "resources/light/home.svg",
"dark": "resources/dark/home.svg"
}
}
],
"keybindings": [
{
"command": "extension.backgroundCover.refresh",
"key": "ctrl+shift+f7"
}
],
"configuration": {
"title": "background-cover config",
"properties": {
"backgroundCover.opacity": {
"type": "number",
"maximum": 0.8,
"minimum": 0,
"default": 0.2,
"description": "Background opacity (0 - 0.8) / 背景透明度(0 - 0.8)"
},
"backgroundCover.blur": {
"type": "number",
"maximum": 100,
"minimum": 0,
"default": 0,
"description": "Background blur (0 - 100) / 背景模糊(0 - 100)"
},
"backgroundCover.imagePath": {
"type": "string",
"default": "",
"description": "Background image path / 背景图片路径"
},
"backgroundCover.randomImageFolder": {
"type": "string",
"default": "",
"description": "Background image's folder path for random / 图片目录"
},
"backgroundCover.autoStatus": {
"type": "boolean",
"default": false,
"description": "Automatically change background each time you start / 每次启动时随机自动更换背景"
},
"backgroundCover.sizeModel": {
"type": "string",
"enum": [
"cover",
"repeat",
"contain",
"not_center",
"not_right_bottom",
"not_right_top",
"not_left",
"not_right",
"not_top",
"not_bottom"
],
"default": "cover",
"description": "Background image size adaptive mode / 图片尺寸适应模式"
},
"backgroundCover.blendModel": {
"type": "string",
"enum": [
"auto",
"multiply",
"lighten"
],
"default": "cover",
"description": "Background image blend mode / 图片文字混合模式,对应主题模式"
},
"backgroundCover.defaultOnlinePage": {
"type": "string",
"default": "https://vs.20988.xyz/d/24-vscodebei-jing-tu-tu-ku",
"description": "Online images default page / 在线图库默认页面"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "backgroundCover-explorer",
"title": "backgroundCover",
"icon": "resources/big.svg"
}
]
},
"views": {
"backgroundCover-explorer": [
{
"id": "backgroundCover.readerView",
"type": "webview",
"name": "backgroundCover"
}
]
},
"menus": {
"view/title": [
{
"command": "backgroundCover.refreshEntry",
"when": "view == backgroundCover.readerView",
"group": "navigation@1"
},
{
"command": "backgroundCover.home",
"when": "view == backgroundCover.readerView",
"group": "navigation@0"
}
]
}
},
"bugs": {
"url": "https://github.com/AShujiao/vscode-background-cover/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/AShujiao/vscode-background-cover.git"
},
"homepage": "https://github.com/AShujiao/vscode-background-cover/blob/master/README.md#manasxx-readme",
"scripts": {
"vscode:prepublish": "npm run compile",
"vscode:uninstall": "node ./out/uninstall",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"check": "tslint -p ./"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/lockfile": "^1.0.4",
"@types/mocha": "^5.2.7",
"@types/node": "^22.9.0",
"@types/vscode": "^1.30.0",
"@vscode/test-electron": "^2.3.2",
"typescript": "^4.5.4"
},
"dependencies": {
"async-mutex": "^0.5.0",
"fs-extra": "^11.2.0",
"lockfile": "^1.0.4",
"sudo-prompt": "^9.2.1"
}
}