-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
197 lines (197 loc) · 4.77 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
{
"name": "random-something",
"displayName": "Random Something",
"description": "中国特色的随机内容生成工具,包括音频,视频,人名,名言,内容,段子,图片,头像,电话,邮箱,地址,学校,网址,新闻等,方便开发者在布局的时候写页面。主要特点是图片和头像可以正常加载图片,运气好的话,还能抽到漂亮小姐姐的图片;段子搞笑好玩,给枯燥的工作加一点乐趣;收录了几乎所有的国内高校,幸运的话,可能下一个出来的就是你的学校。",
"version": "1.0.2",
"publisher": "novenn",
"repository": "https://github.com/novenn/random-something.git",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.47.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:random-something.name",
"onCommand:random-something.content",
"onCommand:random-something.saying",
"onCommand:random-something.image",
"onCommand:random-something.avatar",
"onCommand:random-something.email",
"onCommand:random-something.tel",
"onCommand:random-something.address",
"onCommand:random-something.school",
"onCommand:random-something.www",
"onCommand:random-something.funny",
"onCommand:random-something.news",
"onCommand:random-something.video",
"onCommand:random-something.audio"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "random-something.name",
"title": "Random: 人名"
},
{
"command": "random-something.saying",
"title": "Random: 名言"
},
{
"command": "random-something.funny",
"title": "Random: 段子"
},
{
"command": "random-something.content",
"title": "Random: 内容"
},
{
"command": "random-something.image",
"title": "Random: 图片"
},
{
"command": "random-something.avatar",
"title": "Random: 头像"
},
{
"command": "random-something.email",
"title": "Random: 邮箱"
},
{
"command": "random-something.tel",
"title": "Random: 座机"
},
{
"command": "random-something.mobile",
"title": "Random: 手机"
},
{
"command": "random-something.address",
"title": "Random: 地址"
},
{
"command": "random-something.school",
"title": "Random: 学校"
},
{
"command": "random-something.www",
"title": "Random: 网址"
},
{
"command": "random-something.news",
"title": "Random: 新闻"
},
{
"command": "random-something.video",
"title": "Random: 视频"
},
{
"command": "random-something.audio",
"title": "Random: 音频"
}
],
"configuration": {
"title": "Random Something",
"properties": {
"randomSomething.name": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "自定义你的姓名数组"
},
"randomSomething.saying": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "自定义你的名言数组"
},
"randomSomething.image": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "自定义你的图片数组"
},
"randomSomething.avatar": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "自定义你的头像图片数组"
},
"randomSomething.email": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "自定义你的邮箱数组"
},
"randomSomething.tel": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "自定义你的电话数组"
},
"randomSomething.address": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "自定义你的地址数组"
},
"randomSomething.video": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "自定义你的视频地址数组"
},
"randomSomething.audio": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "自定义你的音频地址数组"
}
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "yarn run lint",
"test": "node ./test/runTest.js",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"@types/vscode": "^1.47.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"cheerio": "^1.0.0-rc.3",
"request": "^2.88.2",
"vsce": "^2.15.0",
"vscode-cache": "^0.3.0"
}
}