-
Notifications
You must be signed in to change notification settings - Fork 121
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.19 KB
/
package.json
File metadata and controls
41 lines (41 loc) · 1.19 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
{
"name": "@nostr-dev-kit/cache-sqlite-wasm",
"version": "1.0.0",
"description": "SQLite WASM cache adapter for NDK using OPFS for persistence.",
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./wa-sqlite.wasm": "./dist/wa-sqlite.wasm",
"./wa-sqlite-async.wasm": "./dist/wa-sqlite-async.wasm"
},
"files": [
"dist",
"docs",
"scripts"
],
"scripts": {
"build": "tsc --emitDeclarationOnly && bun build ./src/index.ts --outfile ./dist/index.mjs --format esm --target browser && bun build ./src/worker.ts --outfile ./dist/worker.js --format esm --target browser && node scripts/copy-wasm.js",
"test": "vitest",
"prepublishOnly": "bun run build",
"postinstall": "node scripts/postinstall.js"
},
"peerDependencies": {
"@nostr-dev-kit/ndk": "^3.0.0"
},
"devDependencies": {
"@types/node": "^24.10.0",
"jsdom": "^27.0.1",
"typescript": "^5.9.3",
"vitest": "^4.0.14"
},
"license": "MIT",
"dependencies": {
"wa-sqlite": "github:rhashimoto/wa-sqlite"
}
}