forked from AShujiao/vscode-background-cover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
158 lines (158 loc) · 5.18 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
{
"name": "background-cover",
"displayName": "background-cover",
"description": "Add a picture you like to cover the entire vscode..",
"version": "2.5.4",
"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": 1,
"minimum": 0,
"default": 0.2,
"description": "Background opacity (0 - 1) / 背景透明度(0 - 1)"
},
"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",
"default": "cover",
"description": "Background image size adaptive 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/mocha": "^5.2.7",
"@types/node": "^12.20.42",
"@types/vscode": "^1.30.0",
"@vscode/test-electron": "^2.3.2",
"typescript": "^4.5.4"
}
}