-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
174 lines (174 loc) · 5.52 KB
/
Copy pathpackage.json
File metadata and controls
174 lines (174 loc) · 5.52 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
{
"name": "solid-objects",
"version": "0.14.7",
"description": "Race-free realtime state per application identity, backed by your SQL database",
"type": "module",
"license": "MIT",
"author": "Lucas Carlson",
"keywords": [
"concurrency",
"durable-state",
"mysql",
"nodejs",
"postgresql",
"realtime",
"sqlite",
"state-management",
"typescript",
"actors",
"durable-objects"
],
"repository": {
"type": "git",
"url": "git+https://github.com/cardmagic/solid-objects-js.git"
},
"engines": {
"node": ">=24.4.0"
},
"packageManager": "pnpm@11.11.0",
"bin": {
"solid-objects": "dist/executable.js"
},
"files": [
"dist",
"docs",
"examples",
"README.md",
"CHANGELOG.md",
"MIT-LICENSE"
],
"exports": {
"./core": {
"types": "./dist/core.d.ts",
"import": "./dist/core.js"
},
"./cloudflare": {
"types": "./dist/cloudflare/index.d.ts",
"import": "./dist/cloudflare/index.js"
},
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./database/sqlite": {
"types": "./dist/database/sqlite.d.ts",
"import": "./dist/database/sqlite.js"
},
"./database/sqlite-wasm": {
"types": "./dist/database/sqlite-wasm.d.ts",
"import": "./dist/database/sqlite-wasm.js"
},
"./database/shared-sqlite-wasm": {
"types": "./dist/database/shared-sqlite-wasm.d.ts",
"import": "./dist/database/shared-sqlite-wasm.js"
},
"./database/postgresql": {
"types": "./dist/database/postgresql.d.ts",
"import": "./dist/database/postgresql.js"
},
"./database/mysql": {
"types": "./dist/database/mysql.d.ts",
"import": "./dist/database/mysql.js"
},
"./wake-up/redis": {
"types": "./dist/wake-up/redis.d.ts",
"import": "./dist/wake-up/redis.js"
},
"./browser": {
"types": "./dist/browser/index.d.ts",
"import": "./dist/browser/index.js"
},
"./browser/host": {
"types": "./dist/browser/host.d.ts",
"import": "./dist/browser/host.js"
},
"./browser/tab-host": {
"types": "./dist/browser/tab-host.d.ts",
"import": "./dist/browser/tab-host.js"
},
"./signals": {
"types": "./dist/signals.d.ts",
"import": "./dist/signals.js"
},
"./transmit": {
"types": "./dist/transmit.d.ts",
"import": "./dist/transmit.js"
},
"./web": {
"types": "./dist/web/index.d.ts",
"import": "./dist/web/index.js"
}
},
"scripts": {
"test:cloudflare": "vitest run --config vitest.cloudflare.config.ts",
"dev:cloudflare": "wrangler dev --config examples/cloudflare/wrangler.jsonc",
"deploy:cloudflare": "wrangler deploy --config examples/cloudflare/wrangler.jsonc",
"check:cloudflare": "node scripts/check-cloudflare-imports.mjs && tsc -p tsconfig.cloudflare-example.json --noEmit && wrangler deploy --dry-run --config examples/cloudflare/wrangler.jsonc",
"build": "pnpm run clean && tsc -p tsconfig.build.json && tsc -p tsconfig.cloudflare-build.json && tsc -p tsconfig.quickstart-build.json && node scripts/prepare-executable.mjs",
"check": "pnpm run check:parameters && pnpm run check:documentation && pnpm run check:browser-imports && tsc -p tsconfig.json --noEmit && tsc -p tsconfig.examples.json --noEmit && tsc -p tsconfig.cloudflare.json --noEmit",
"check:browser-imports": "node scripts/check-browser-imports.mjs",
"check:documentation": "node scripts/check-documentation.mjs",
"check:parameters": "node scripts/check-parameter-style.mjs",
"clean": "node scripts/clean.mjs",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest run",
"test:browser": "pnpm run build && playwright test",
"test:coverage": "vitest run --coverage",
"test:postgresql": "vitest run test/postgresql.test.ts",
"test:mysql": "vitest run test/mysql.test.ts",
"test:package": "node scripts/release-artifact-smoke.mjs",
"test:recovery": "pnpm run build && node examples/failure-recovery/demo.ts",
"test:at-least-once": "pnpm run build && node examples/at-least-once/demo.ts",
"test:redis": "vitest run test/redis-wake-up.test.ts",
"test:watch": "vitest",
"benchmark": "pnpm run build && node benchmarks/run.ts",
"benchmark:idle": "pnpm run build && node benchmarks/idle.ts",
"benchmark:large-state": "pnpm run build && node benchmarks/large-state.ts",
"pack:check": "pnpm pack --dry-run && node scripts/check-package.mjs",
"prepack": "pnpm run build"
},
"devDependencies": {
"@cloudflare/vitest-plugin": "^1.1.4",
"@cloudflare/workers-types": "^5.20260904.1",
"@playwright/test": "^1.62.1",
"@sqlite.org/sqlite-wasm": "3.53.0-build1",
"@types/node": "^24.0.0",
"@types/pg": "^8.21.0",
"@types/ws": "^8.18.1",
"@vitest/coverage-v8": "^4.1.10",
"mysql2": "^3.23.3",
"pg": "^8.23.0",
"prettier": "^3.9.6",
"redis": "^6.2.1",
"signal-polyfill": "^0.2.2",
"typescript": "^5.9.0",
"vitest": "^4.1.10",
"wrangler": "^4.129.0",
"ws": "^8.21.3"
},
"peerDependencies": {
"@sqlite.org/sqlite-wasm": ">=3.50.0-build1",
"mysql2": "^3.23.3",
"pg": "^8.23.0",
"redis": "^6.2.1",
"signal-polyfill": ">=0.2.2"
},
"peerDependenciesMeta": {
"@sqlite.org/sqlite-wasm": {
"optional": true
},
"signal-polyfill": {
"optional": true
},
"mysql2": {
"optional": true
},
"pg": {
"optional": true
},
"redis": {
"optional": true
}
}
}