-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
247 lines (247 loc) · 7.33 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
{
"name": "redis-xplorer",
"displayName": "Redis Xplorer",
"description": "Connect to multiple Redis servers simultaneously (TLS supported). Perform simple read, write & filter keys operations with ease.",
"version": "1.2.7",
"publisher": "Davidsekar",
"author": {
"name": "David Gnanasekaran",
"email": "[email protected]"
},
"icon": "images/redis.png",
"engines": {
"vscode": "^1.37.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:redisXplorer",
"onCommand:config.commands.redisServer"
],
"main": "./dist/extension",
"contributes": {
"configuration": [
{
"title": "Redis Xplorer Configuration",
"properties": {
"redisXplorer.config": {
"type": "object",
"description": "Redis server connection configuration & profiles",
"properties": {
"scanLimit": {
"type": "number",
"description": "Number of items to scan on each request to Redis server"
},
"profiles": {
"type": "array",
"description": "Redis connection profiles",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Profile nick name"
},
"host": {
"type": "string",
"description": "Redis server/host name"
},
"accessKey": {
"type": "string",
"description": "Password to authenticate"
},
"filter": {
"type": "string",
"description": "Pattern to filter redis keys"
},
"port": {
"type": "string",
"description": "Port number to connect on the Redis server"
}
}
}
}
}
}
}
}
],
"views": {
"explorer": [
{
"id": "redisXplorer",
"name": "Redis Xplorer"
}
]
},
"menus": {
"view/title": [
{
"command": "config.commands.redisServer",
"when": "view == redisXplorer",
"group": "navigation"
},
{
"command": "config.commands.redisServer.scanLimit",
"when": "view == redisXplorer",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "config.commands.redisServer.addItem",
"when": "view == redisXplorer && viewItem == redisServerNode",
"group": "inline"
},
{
"command": "config.commands.redisServer.edit",
"when": "view == redisXplorer && viewItem == redisServerNode",
"group": "inline"
},
{
"command": "config.commands.redisServer.delServerItem",
"when": "view == redisXplorer && viewItem == redisServerNode",
"group": "inline"
},
{
"command": "config.commands.redisServer.filterServerItem",
"when": "view == redisXplorer && viewItem == redisServerNode",
"group": "inline"
},
{
"command": "config.commands.redisServer.refreshServerItem",
"when": "view == redisXplorer && viewItem == redisServerNode",
"group": "inline"
},
{
"command": "config.commands.redisServer.delAllItems",
"when": "view == redisXplorer && viewItem == redisServerNode",
"group": "inline"
},
{
"command": "config.commands.redisServer.delItem",
"when": "view == redisXplorer && viewItem == redisNode",
"group": "inline"
}
],
"commandPalette": [
{
"command": "config.commands.redisServer"
}
]
},
"commands": [
{
"command": "config.commands.redisServer",
"category": "Redis Xplorer",
"title": "Add new profile",
"icon": {
"light": "resources/light/add.svg",
"dark": "resources/dark/add.svg"
}
},
{
"command": "config.commands.redisServer.scanLimit",
"category": "Redis Xplorer",
"title": "Max. number of items to fetch per request",
"icon": {
"light": "resources/light/concurrency_setting.svg",
"dark": "resources/dark/concurrency_setting.svg"
}
},
{
"command": "config.commands.redisServer.edit",
"title": "Edit profile",
"icon": {
"light": "resources/light/edit.svg",
"dark": "resources/dark/edit.svg"
}
},
{
"command": "config.commands.redisServer.delItem",
"title": "Delete key",
"icon": {
"light": "resources/light/delete.svg",
"dark": "resources/dark/delete.svg"
}
},
{
"command": "config.commands.redisServer.delServerItem",
"title": "Delete profile",
"icon": {
"light": "resources/light/remove_profile.svg",
"dark": "resources/dark/remove_profile.svg"
}
},
{
"command": "config.commands.redisServer.addItem",
"title": "Add new key",
"icon": {
"light": "resources/light/add.svg",
"dark": "resources/dark/add.svg"
}
},
{
"command": "config.commands.redisServer.refreshServerItem",
"title": "Refresh all keys",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "config.commands.redisServer.filterServerItem",
"title": "Filter keys by name",
"icon": {
"light": "resources/light/filter_list.svg",
"dark": "resources/dark/filter_list.svg"
}
},
{
"command": "config.commands.redisServer.delAllItems",
"title": "Remove all keys under this profile",
"icon": {
"light": "resources/light/delete_all.svg",
"dark": "resources/dark/delete_all.svg"
}
}
]
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"compile": "tsc -p ./",
"test-compile": "tsc -p ./tsconfig-test.json",
"lint": "tslint -p ./",
"test": "node ./out/test/runTest.js",
"publish": "vsce package && vsce publish"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/ioredis": "^4.0.13",
"@types/lodash": "^4.14.136",
"@types/mocha": "^5.2.7",
"@types/node": "^10.12.21",
"@types/vscode": "^1.37.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"ts-loader": "^6.0.4",
"tslint": "^5.19.0",
"typescript": "^3.5.3",
"vscode-test": "^1.2.0",
"webpack": "^4.39.3",
"webpack-cli": "^3.3.7"
},
"dependencies": {
"ioredis": "^4.11.2",
"lodash": "^4.17.21"
},
"repository": {
"type": "git",
"url": "https://github.com/davidsekar/Redis-Xplorer"
},
"homepage": "https://github.com/davidsekar/Redis-Xplorer/blob/master/README.md",
"license": "MIT"
}