-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
200 lines (200 loc) · 5.86 KB
/
package.json
File metadata and controls
200 lines (200 loc) · 5.86 KB
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
{
"icon": "media/icon.png",
"name": "sqlite-explorer",
"displayName": "SQLite Explorer",
"description": "A powerful SQLite database viewer and editor for VS Code",
"version": "1.3.4",
"publisher": "zknpr",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/zknpr/sqlite-explorer"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/zknpr"
},
{
"type": "ko-fi",
"url": "https://ko-fi.com/zknpr"
},
{
"type": "BuyMeACoffee",
"url": "https://buymeacoffee.com/zknpr"
}
],
"engines": {
"vscode": "^1.110.0"
},
"categories": [
"Other"
],
"main": "./out/extension.js",
"browser": "./out/extension-browser.js",
"extensionKind": [
"workspace",
"ui"
],
"l10n": "./l10n",
"contributes": {
"languages": [
{
"id": "sql",
"extensions": [
".sqlite",
".sqlite3",
".db",
".db3",
".sdb",
".s3db",
".gpkg"
]
}
],
"customEditors": [
{
"viewType": "sqlite-explorer.view",
"displayName": "SQLite Explorer",
"selector": [
{
"filenamePattern": "*.sqlite"
},
{
"filenamePattern": "*.sqlite3"
},
{
"filenamePattern": "*.db"
},
{
"filenamePattern": "*.db3"
},
{
"filenamePattern": "*.sdb"
},
{
"filenamePattern": "*.s3db"
}
]
},
{
"viewType": "sqlite-explorer.option",
"displayName": "SQLite Explorer (Optional)",
"selector": [
{
"filenamePattern": "*"
}
],
"priority": "option"
}
],
"configuration": {
"title": "SQLite Explorer",
"properties": {
"sqliteExplorer.maxFileSize": {
"type": "number",
"minimum": 0,
"maximum": 4000,
"exclusiveMinimum": false,
"default": 200,
"markdownDescription": "Maximum file size in MB that can be opened. Set to 0 for unlimited."
},
"sqliteExplorer.defaultPageSize": {
"type": "number",
"minimum": 10,
"maximum": 100000,
"default": 500,
"markdownDescription": "Default number of rows to display per page."
},
"sqliteExplorer.maxRows": {
"type": "number",
"minimum": 0,
"maximum": 10000000,
"default": 0,
"markdownDescription": "Maximum number of rows to load from a table. Set to 0 for unlimited."
},
"sqliteExplorer.instantCommit": {
"type": "string",
"enum": [
"always",
"never",
"remote-only"
],
"default": "never",
"markdownDescription": "Controls when changes are saved to disk.\n- `always`: Changes are saved immediately.\n- `never`: Changes are kept in memory until manually saved.\n- `remote-only`: Auto-save only in remote workspaces."
},
"sqliteExplorer.doubleClickBehavior": {
"type": "string",
"enum": [
"inline",
"modal",
"vscode"
],
"default": "inline",
"markdownDescription": "Controls the action when double-clicking a cell.\n- `inline`: Start inline editing (default).\n- `modal`: Open detail preview modal.\n- `vscode`: Open in VS Code editor tab."
},
"sqliteExplorer.fileOperations": {
"type": "string",
"enum": [
"native",
"web"
],
"default": "native",
"markdownDescription": "Controls how file operations (save/upload) behave in the blob inspector.\n- `native`: Use VS Code file dialogs (default).\n- `web`: Use browser download/upload (for web demo compatibility)."
},
"sqliteExplorer.queryTimeout": {
"type": "number",
"minimum": 1000,
"maximum": 600000,
"default": 30000,
"markdownDescription": "Maximum time in milliseconds for query execution before timeout. Prevents runaway queries from freezing the extension. Set to a higher value for complex queries on large databases."
},
"sqliteExplorer.maxUndoMemory": {
"type": "number",
"minimum": 1048576,
"maximum": 536870912,
"default": 52428800,
"markdownDescription": "Maximum memory in bytes for undo/redo history. When exceeded, oldest entries are discarded. Default is 50MB (52428800 bytes)."
}
}
},
"commands": [
{
"command": "sqlite-explorer.refresh",
"title": "Refresh Database",
"category": "SQLite Explorer"
}
]
},
"scripts": {
"clean": "rm -rf out && rm -rf assets",
"vscode:prepublish": "echo 'Skipping build for packaging'",
"compile:ext": "npm run compile:ext:cp & npm run compile:ext:js & wait",
"compile:ext:cp": "cp -r node_modules/@vscode/codicons node_modules/codicons",
"compile:ext:js": "node scripts/build.mjs",
"compile": "npm run clean && npm run compile:ext",
"build": "npm run compile",
"package": "npm run build && npx vsce package",
"package-all": "npm run build && npx vsce package",
"test": "npx tsx --tsconfig tsconfig.test.json --test tests/unit/*.test.ts"
},
"devDependencies": {
"@types/node": "^25.5.0",
"@types/vscode": "=1.110.0",
"@vscode/vsce": "^3.7.1",
"esbuild": "^0.27.4",
"esbuild-plugin-polyfill-node": "^0.3.0",
"ts-node": "^10.9.2",
"tsx": "^4.21.0",
"typescript": "^6.0.2"
},
"dependencies": {
"@scure/base": "^2.0.0",
"@vscode/codicons": "^0.0.45",
"@vscode/extension-telemetry": "^1.5.1",
"sql.js": "^1.14.1"
},
"overrides": {
"qs": ">=6.14.2"
}
}