-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (87 loc) · 2.06 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
{
"name": "@subframe7536/sqlite-wasm",
"type": "module",
"version": "0.5.0-beta.1",
"description": "typesafe wa-sqlite wrapper, persist data to IndexedDB or OPFS",
"author": "subframe7536",
"license": "MIT",
"repository": "https://github.com/subframe7536/sqlite-wasm",
"keywords": [
"typescript",
"sqlite",
"wasm",
"IndexedDB"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./idb": {
"import": "./dist/idb.js",
"require": "./dist/idb.cjs"
},
"./idb-memory": {
"import": "./dist/idb-memory.js",
"require": "./dist/idb-memory.cjs"
},
"./opfs": {
"import": "./dist/opfs.js",
"require": "./dist/opfs.cjs"
},
"./constant": {
"import": "./dist/constant.js",
"require": "./dist/constant.cjs"
},
"./wasm": "./dist/wa-sqlite.wasm",
"./wasm-async": "./dist/wa-sqlite-async.wasm"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"typesVersions": {
"*": {
"idb": [
"./dist/idb.d.ts"
],
"idb-memory": [
"./dist/idb-memory.d.ts"
],
"opfs": [
"./dist/opfs.d.ts"
],
"constant": [
"./dist/constant.d.ts"
]
}
},
"files": [
"dist"
],
"scripts": {
"lint": "tsc --noEmit && eslint ./src --max-warnings 0 --fix",
"format": "eslint . --fix",
"dev": "vite serve playground",
"build": "tsup",
"update": "node download.mjs",
"release": "pnpm lint && pnpm run build && bumpp --all && npm publish"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@subframe7536/eslint-config": "^1.1.3",
"@subframe7536/type-utils": "^0.1.6",
"@types/node": "^22.10.2",
"bumpp": "^9.9.2",
"eslint": "^9.17.0",
"ofetch": "^1.4.1",
"tar": "^7.4.3",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"uuidv7": "^1.0.2",
"vite": "^6.0.5",
"wa-sqlite": "github:rhashimoto/wa-sqlite#v1.0.5",
"zen-mitt": "^3.0.0"
}
}