-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.42 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 2.42 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
{
"name": "@quereus/plugin-indexeddb",
"version": "4.2.1",
"type": "module",
"description": "IndexedDB storage plugin for Quereus - browser persistent storage",
"keywords": [
"quereus",
"quereus-plugin",
"sql",
"database",
"storage",
"indexeddb",
"kv-store",
"browser",
"persistent"
],
"publisher": "Got Choices Foundation",
"repository": {
"type": "git",
"url": "https://github.com/gotchoices/quereus.git",
"directory": "packages/quereus-plugin-indexeddb"
},
"license": "MIT",
"main": "dist/src/index.js",
"types": "./dist/src/index.d.ts",
"files": [
"dist",
"!**/*.tsbuildinfo"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"./plugin": {
"types": "./dist/src/plugin.d.ts",
"import": "./dist/src/plugin.js"
}
},
"peerDependencies": {
"@quereus/isolation": "workspace:^",
"@quereus/quereus": "workspace:^",
"@quereus/store": "workspace:^"
},
"engines": {
"quereus": "^0.24.0"
},
"quereus": {
"provides": {
"vtables": [
"store"
]
},
"settings": [
{
"key": "prefix",
"label": "Database Prefix",
"type": "string",
"default": "quereus",
"help": "Prefix for IndexedDB database names"
},
{
"key": "moduleName",
"label": "Module Name",
"type": "string",
"default": "store",
"help": "Name to register the virtual table module under"
},
{
"key": "isolation",
"label": "Transaction Isolation",
"type": "boolean",
"default": true,
"help": "Enable transaction isolation (read-your-own-writes, snapshot isolation)"
}
]
},
"scripts": {
"clean": "rimraf dist",
"build": "tsc",
"typecheck": "tsc --noEmit",
"test": "cd ../.. && node --import ./packages/quereus-plugin-indexeddb/register.mjs node_modules/mocha/bin/mocha.js \"packages/quereus-plugin-indexeddb/test/**/*.spec.ts\" --reporter min --colors"
},
"dependencies": {
"@quereus/quereus": "workspace:^",
"@quereus/store": "workspace:^"
},
"devDependencies": {
"@quereus/isolation": "*",
"@types/chai": "^5.2.3",
"@types/mocha": "^10.0.10",
"chai": "^6.2.2",
"fake-indexeddb": "^6.2.5",
"mocha": "^11.7.6",
"rimraf": "^6.1.3",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
}
}