-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
159 lines (159 loc) · 5.51 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
{
"name": "super-encourager",
"displayName": "超级鼓励师",
"description": "这里有美图,名言,方便开发的小工具,常见API还有各种娱乐项目等你来体验,奖励下努力工作的您!",
"author": "RUNNERUP",
"publisher": "RUNNERUP",
"icon": "src/resources/super-encourager.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/weiweiwei256/super-encourager"
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test",
"pub": "vsce publish patch"
},
"homepage": "https://github.com/weiweiwei256/super-encourager/blob/master/README.md",
"categories": [
"Other"
],
"keywords": [
"超级鼓励师",
"super-encourager",
"super encourager",
"鼓励师",
"鼓励",
"encourage"
],
"version": "4.0.6",
"engines": {
"vscode": "^1.35.0"
},
"activationEvents": [
"*"
],
"main": "./src/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "超级鼓励师",
"properties": {
"superencourager.keyword": {
"type": "string",
"default": "石原里美 刘亦菲 古力娜扎 高圆圆 赵奕欢 江疏影 范冰冰 新垣结衣 ⭐我的最爱",
"scope": "application",
"description": "搜索图片关键字"
},
"superencourager.timeLast": {
"type": "number",
"default": "20",
"scope": "application",
"description": "鼓励持续时间,单位:秒。 设置为0 则不自动关闭"
},
"superencourager.type": {
"type": "string",
"enum": [
"time-interval",
"natural-hour",
"natural-half-hour"
],
"enumDescriptions": [
"%superencourager.type.time-interval%",
"%superencourager.type.natural-hour%",
"%superencourager.type.natural-half-hour%"
],
"default": "natural-hour",
"scope": "application",
"description": "鼓励方式: 特定时间间隔、整点鼓励、半点鼓励。"
},
"superencourager.timeInterval": {
"type": "number",
"default": "30",
"scope": "application",
"description": "鼓励时间间隔,单位分钟。需要:鼓励方式为:time-interval时,生效"
},
"superencourager.needTip": {
"type": "boolean",
"default": false,
"scope": "application",
"description": "是否在召唤之前显示召唤提示"
},
"superencourager.isGif": {
"type": "boolean",
"default": false,
"scope": "application",
"description": "是否获取动图,通过百度搜索动图可能不准确,但也没啥办法"
},
"superencourager.maxImageNum": {
"type": "number",
"default": "40",
"scope": "application",
"description": "每个关键字最大图片数量"
}
}
},
"commands": [
{
"command": "superencourager.call",
"title": "super.call:召唤鼓励师",
"icon": {
"light": "./src/resources/call-light.png",
"dark": "./src/resources/call-dark.png"
}
},
{
"command": "superencourager.setKeyword",
"title": "super.set:设置关键字"
},
{
"command": "superencourager.clearImage",
"title": "super.clear:删除关键字"
},
{
"command": "superencourager.showPath",
"title": "super.showPath:查看图片本地路径"
}
],
"keybindings": [
{
"command": "superencourager.call",
"key": "ctrl+f1",
"mac": "cmd+f1",
"when": "editorTextFocus"
}
],
"menus": {
"editor/context": [
{
"when": "editorFocus",
"command": "superencourager.call",
"group": "navigation"
}
],
"editor/title": [
{
"when": "!explorerResourceIsFolder",
"command": "superencourager.call",
"group": "navigation"
}
]
}
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^10.12.21",
"axios": "^0.19.0",
"cron": "^1.7.1",
"eslint": "^5.13.0",
"sync-request": "^6.1.0",
"vscode": "^1.1.28"
},
"dependencies": {
"mkdirp": "^0.5.1",
"axios": "^0.19.0",
"cron": "^1.7.1",
"sync-request": "^6.1.0"
}
}