-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
159 lines (159 loc) · 5.15 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
{
"icon": "documentation/icon.png",
"name": "sqlite-viewer",
"displayName": "SQLite Viewer",
"description": "SQLite Viewer for VS Code",
"version": "0.9.6",
"publisher": "qwtel",
"private": true,
"license": "LICENSE.md",
"homepage": "https://vscode.sqliteviewer.app",
"repository": {
"type": "git",
"url": "https://github.com/qwtel/sqlite-viewer-vscode"
},
"engines": {
"vscode": "^1.83.1"
},
"categories": [
"Other"
],
"main": "./out/extension.js",
"browser": "./out/extension-browser.js",
"extensionKind": [
"workspace",
"ui"
],
"contributes": {
"languages": [
{
"id": "sql",
"extensions": [
".sqlite",
".sqlite3",
".db",
".db3",
".sdb",
".s3db",
".gpkg"
]
}
],
"customEditors": [
{
"viewType": "sqlite-viewer.view",
"displayName": "SQLite Viewer",
"selector": [
{
"filenamePattern": "*.sqlite"
},
{
"filenamePattern": "*.sqlite3"
},
{
"filenamePattern": "*.db"
},
{
"filenamePattern": "*.db3"
},
{
"filenamePattern": "*.sdb"
},
{
"filenamePattern": "*.s3db"
}
]
},
{
"viewType": "sqlite-viewer.option",
"displayName": "SQLite Viewer",
"selector": [
{
"filenamePattern": "*"
}
],
"priority": "option"
}
],
"configuration": {
"title": "SQLite Viewer",
"properties": {
"sqliteViewer.maxFileSize": {
"type": "number",
"minimum": 0,
"maximum": 4000,
"exclusiveMinimum": false,
"default": 200,
"markdownDescription": "The maximum file size in MB the extension will attempt to load. Set to 0 to disable the limit. The internal limit is 4GB, but platform limits may apply earlier.\n\n__Warning__: Opening large files may cause poor performance, freezes, and system-wide memory pressure."
}
}
},
"commands": [
{
"command": "sqlite-viewer.addFileNestingPatterns",
"title": "Add SQLite File Nesting Patterns",
"category": "SQLite Viewer"
},
{
"command": "sqlite-viewer.enterLicenseKey",
"title": "Activate License Key",
"category": "SQLite Viewer"
},
{
"command": "sqlite-viewer.removeLicenseKey",
"title": "Deactivate License Key",
"category": "SQLite Viewer"
},
{
"command": "sqlite-viewer.enterAccessToken",
"title": "Offline License Activation",
"category": "SQLite Viewer"
}
]
},
"scripts": {
"clean": "rm -rf out && rm -rf sqlite-viewer-core/vscode/build",
"vscode:prepublish": "npm run $([ -z \"${VSCODE_EXT_SKIP_BUILD}\" ] && echo build || echo compile:bin)",
"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": "bun run scripts/esbuild.ts",
"compile:app": "cd sqlite-viewer-core && npm run $([ -z \"${DEV}\" ] && echo build-vscode || echo build-vscode-fast)",
"compile:tjs": "cd sqlite-viewer-core && npm run build-tjs",
"compile:bin": "npm run compile:tjs && bun run scripts/bin.ts",
"compile": "npm run clean && npm run compile:bin && npm run compile:ext && npm run compile:app",
"build:tjs": "cd zig-build-txiki && zig build --summary all -Dmatrix -Dno-wasm -Doptimize=ReleaseSmall",
"build": "npm run build:tjs && npm run compile",
"postinstall": "npm run build:tjs",
"package": "bun run scripts/pack.ts",
"package-all": "bun run scripts/ci.ts",
"version": "bun run scripts/changelog.ts && git add CHANGELOG.md",
"postversion": "cd sqlite-viewer-core && git tag -a \"vscode/v$(jq -r '.version' ../package.json)\" -m ''",
"publish-all": "bun run scripts/ci.ts --kind publish",
"pre-publish-all": "bun run scripts/ci.ts --kind publish --pre-release",
"prepack": "sed -i '' s~https://sqliteviewer\\.app~https://sqliteviewer.app?ref=vscode~g *.md",
"postpack": "sed -i '' s~https://sqliteviewer\\.app?ref=vscode~https://sqliteviewer.app~g *.md",
"codium:publish-all": "bun run scripts/ci.ts --tool ovsx --kind publish"
},
"devDependencies": {
"@txikijs/types": "^24.6.0",
"@types/vscode": "^1.83.1",
"bun-types": "^1.1.34",
"esbuild": "^0.24.0",
"esbuild-plugin-alias": "^0.2.1",
"esbuild-plugin-polyfill-node": "^0.3.0",
"ovsx": "^0.10.0",
"typescript": "^5.6.3"
},
"dependencies": {
"@std/encoding": "npm:@jsr/std__encoding@^1.0.5",
"@vscode/codicons": "^0.0.36",
"@vscode/extension-telemetry": "^0.9.7",
"@vscode/vsce": "^2.32.0",
"@worker-tools/typed-event-target": "^1.0.0",
"@workers/typed-event-target": "npm:@jsr/workers__typed-event-target@^1.0.0",
"@workers/v8-value-serializer": "npm:@jsr/workers__v8-value-serializer@^0.5.4",
"jose": "^5.9.6",
"node-fetch": "^3.3.2",
"whatwg-stream-to-async-iter": "^0.6.2"
}
}