-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
301 lines (301 loc) · 8.96 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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
{
"name": "redis-for-vscode",
"version": "1.2.0",
"displayName": "Redis for VS Code",
"description": "Visually interact with data and build queries in Redis",
"license": "SEE LICENSE IN LICENSE",
"main": "dist/extension.js",
"l10n": "./l10n",
"publisher": "Redis",
"pricing": "Free",
"categories": [
"Visualization",
"Programming Languages"
],
"icon": "dist/webviews/resources/256x256.png",
"author": {
"name": "Redis Ltd.",
"email": "[email protected]",
"url": "https://redis.io/insight/"
},
"repository": {
"type": "git",
"url": "https://github.com/RedisInsight/Redis-for-VS-Code.git"
},
"bugs": {
"url": "https://github.com/RedisInsight/Redis-for-VS-Code/issues"
},
"qna": "https://github.com/RedisInsight/Redis-for-VS-Code/issues",
"homepage": "https://github.com/RedisInsight/Redis-for-VS-Code#readme",
"keywords": [
"Redis for VS Code",
"redis",
"redis insight",
"vsc",
"visual studio code",
"plugin",
"react",
"node",
"nest",
"typescript",
"vite"
],
"engines": {
"vscode": "^1.87.0"
},
"activationEvents": [
"onView:ri-sidebar-view"
],
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "ri-sidebar-view",
"title": "Redis for VS Code",
"icon": "dist/webviews/resources/redis_for_vscode.svg"
}
],
"panel": [
{
"id": "ri-panel-view",
"title": "Redis CLI",
"icon": "dist/webviews/resources/redis_for_vscode.svg"
}
]
},
"views": {
"ri-sidebar-view": [
{
"type": "webview",
"id": "ri-sidebar",
"name": "Redis for VS Code",
"icon": "dist/webviews/resources/redis_for_vscode.svg",
"contextualTitle": "Redis for VS Code"
}
],
"ri-panel-view": [
{
"type": "webview",
"id": "ri-panel",
"when": "RedisForVSCode.showCliPanel",
"name": "Redis CLI"
}
]
},
"commands": [
{
"command": "RedisForVSCode.addCli",
"title": "Add CLI",
"category": "Redis for VS Code",
"icon": "$(add)"
},
{
"command": "RedisForVSCode.openSettings",
"title": "Open Redis for VS Code settings",
"category": "Redis for VS Code",
"icon": "$(settings-gear)"
},
{
"command": "RedisForVSCode.openEula",
"title": "Open Redis for VS Code eula",
"category": "Redis for VS Code",
"icon": "$(settings-gear)"
},
{
"command": "RedisForVSCode.addDatabase",
"title": "Add Redis database",
"category": "Redis for VS Code",
"icon": "$(add)"
}
],
"menus": {
"view/title": [
{
"command": "RedisForVSCode.addDatabase",
"group": "navigation",
"when": "view == ri-sidebar && !ri.openEula"
},
{
"command": "RedisForVSCode.openSettings",
"group": "navigation",
"when": "view == ri-sidebar && !ri.openEula"
},
{
"command": "RedisForVSCode.openEula",
"group": "navigation",
"when": "view == ri-sidebar && ri.openEula"
}
]
}
},
"resolutions": {
"@microsoft/fast-element": "^1.12.0",
"@microsoft/fast-foundation": "^2.49.0",
"@microsoft/fast-react-wrapper": "^0.3.18",
"strip-ansi": "^6.0.1",
"jackspeak": "2.1.1"
},
"scripts": {
"vscode:prepublish": "yarn compile && cross-env NODE_ENV=production BUILD_EXIT=true yarn build",
"compile": "tsc -p ./",
"postinstall": "patch-package",
"build": "cross-env NODE_ENV=production vite build",
"download:backend": "tsc ./scripts/downloadBackend.ts && node ./scripts/downloadBackend.js",
"dev": "vite dev",
"dev:key": "cross-env RI_DATA_ROUTE=main/key vite dev",
"dev:database": "cross-env RI_DATA_ROUTE=main/add_database vite dev",
"dev:sidebar": "cross-env RI_DATA_ROUTE=sidebar vite dev",
"l10n:collect": "npx @vscode/l10n-dev export -o ./l10n ./src",
"watch": "tsc -watch -p ./",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint . --fix --ext .js,.jsx,.ts,.tsx",
"test:watch": "vitest watch --dir ./src/webviews/src",
"test:watch:ui": "vitest watch --ui --coverage --dir ./src/webviews/src",
"test:cov": "vitest run --silent --coverage --dir ./src/webviews/src",
"package:prod": "npx mkdirp release && npx @vscode/vsce package",
"package:stage": "npx mkdirp release && npx @vscode/vsce package --pre-release",
"prepare": "husky install"
},
"vsce": {
"yarn": true,
"packagePath": "./release/redis-for-vscode-extension.vsix"
},
"msw": {
"workerDirectory": "./src/webviews/test/public"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --fix"
},
"devDependencies": {
"@githubocto/tailwind-vscode": "^1.0.5",
"@tailwindcss/container-queries": "^0.1.1",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@types/cors": "^2.8.13",
"@types/detect-port": "^1.3.5",
"@types/file-saver": "^2.0.5",
"@types/is-glob": "^4.0.3",
"@types/json-bigint": "^1.0.4",
"@types/jsonpath": "^0.2.4",
"@types/lodash": "^4.14.200",
"@types/lodash-es": "^4.17.12",
"@types/node": "^16.4.13",
"@types/pako": "^2.0.3",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/react-virtualized": "^9.21.28",
"@types/react-window-infinite-loader": "^1.0.9",
"@types/supertest": "^2.0.12",
"@types/tailwindcss": "^3.1.0",
"@types/tcp-port-used": "^1.0.4",
"@types/uuid": "^9.0.8",
"@types/vscode": "^1.87.0",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitejs/plugin-react-swc": "^3.6.0",
"@vitest/coverage-v8": "^1.3.1",
"@vitest/ui": "^1.6.0",
"@vscode/l10n-dev": "^0.0.35",
"@vscode/vsce": "^3.2.1",
"cross-env": "^7.0.3",
"csv-parser": "^3.0.0",
"csv-stringify": "^6.5.1",
"esbuild": "^0.19.5",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-import-resolver-webpack": "0.13.0",
"eslint-plugin-compat": "^3.8.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^25.7.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.4",
"eslint-plugin-tailwindcss": "^3.15.1",
"googleapis": "^142.0.0",
"html-entities": "^2.3.2",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"jsdom-worker": "^0.3.0",
"lint-staged": "^15.0.2",
"mkdirp": "^3.0.1",
"msw": "^2.2.13",
"patch-package": "^8.0.0",
"postcss": "^8.4.31",
"postcss-nested": "^6.0.1",
"postinstall-postinstall": "^2.1.0",
"prettier": "^3.0.0",
"react-intl": "^6.5.1",
"react-refresh": "^0.14.0",
"sass": "^1.69.5",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"tailwindcss": "^3.4.3",
"ts-mockito": "^2.6.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.4.5",
"upath": "^2.0.1",
"uuid": "^9.0.1",
"vite": "^5.2.10",
"vite-plugin-react-click-to-component": "^3.0.0",
"vite-plugin-static-copy": "^1.0.3",
"vite-plugin-svgr": "^4.2.0",
"vitest": "^1.5.1",
"whatwg-fetch": "^3.6.19"
},
"dependencies": {
"@stablelib/snappy": "^1.0.3",
"@vscode/l10n": "^0.0.18",
"@vscode/webview-ui-toolkit": "^1.4.0",
"axios": "^1.7.4",
"brotli-unicode": "^1.0.2",
"buffer": "^6.0.3",
"classnames": "^2.3.2",
"connection-string": "^4.4.0",
"cors": "^2.8.5",
"date-fns": "^2.30.0",
"detect-port": "^1.6.1",
"dotenv": "^16.4.5",
"file-saver": "^2.0.5",
"formik": "^2.4.5",
"fzstd": "^0.1.1",
"history": "^5.3.0",
"html-react-parser": "^5.0.6",
"immer": "^9.0.21",
"is-glob": "^4.0.3",
"java-object-serialization": "^0.1.1",
"json-bigint": "^1.0.0",
"jsonpath": "^1.1.1",
"lodash": "^4.17.21",
"lz4js": "^0.2.0",
"monaco-editor": "^0.48.0",
"msgpackr": "^1.10.1",
"pako": "^2.1.0",
"php-serialize": "^4.1.1",
"pickleparser": "^0.2.1",
"rawproto": "^0.7.15",
"rc-checkbox": "^3.2.0",
"rc-resize-observer": "^1.4.0",
"react": "^18.3.1",
"react-contenteditable": "^3.3.7",
"react-cool-onclickoutside": "^1.7.0",
"react-dom": "^18.3.1",
"react-hotkeys-hook": "^4.4.1",
"react-icons": "^4.11.0",
"react-inlinesvg": "^4.1.1",
"react-monaco-editor": "^0.55.0",
"react-router-dom": "^6.17.0",
"react-select": "^5.8.3",
"react-spinners": "^0.13.8",
"react-virtualized": "^9.22.5",
"react-virtualized-auto-sizer": "^1.0.20",
"react-vtree": "^3.0.0-beta.3",
"react-window": "^1.8.6",
"reactjs-popup": "^2.0.6",
"ws": "^8.17.1",
"zustand": "^4.5.4"
}
}