@luckystack/sync 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "@luckystack/sync",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "type": "module",
9
+ "description": "Real-time sync transport for LuckyStack: type-safe room-based fanout, server + per-client validation, streaming, optimistic offline queue. Server entry plus a browser-safe ./client subpath.",
10
+ "license": "MIT",
11
+ "author": "Mathijs van Melick <mathijsvanmelick3@gmail.com>",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/ItsLucky23/LuckyStack-v2.git",
15
+ "directory": "packages/sync"
16
+ },
17
+ "homepage": "https://github.com/ItsLucky23/LuckyStack-v2/tree/master/packages/sync#readme",
18
+ "bugs": {
19
+ "url": "https://github.com/ItsLucky23/LuckyStack-v2/issues"
20
+ },
21
+ "keywords": [
22
+ "luckystack",
23
+ "sync",
24
+ "realtime",
25
+ "socket.io",
26
+ "websocket",
27
+ "react",
28
+ "multiplayer",
29
+ "fanout",
30
+ "rooms",
31
+ "framework"
32
+ ],
33
+ "engines": {
34
+ "node": ">=20.0.0"
35
+ },
36
+ "main": "./dist/index.js",
37
+ "types": "./dist/index.d.ts",
38
+ "exports": {
39
+ ".": {
40
+ "types": "./dist/index.d.ts",
41
+ "import": "./dist/index.js"
42
+ },
43
+ "./client": {
44
+ "types": "./dist/client.d.ts",
45
+ "import": "./dist/client.js"
46
+ }
47
+ },
48
+ "files": [
49
+ "dist",
50
+ "README.md",
51
+ "CLAUDE.md",
52
+ "docs",
53
+ "LICENSE",
54
+ "CHANGELOG.md"
55
+ ],
56
+ "scripts": {
57
+ "build": "tsup",
58
+ "build:watch": "tsup --watch",
59
+ "test": "vitest run"
60
+ },
61
+ "dependencies": {
62
+ "@luckystack/core": "^0.1.0",
63
+ "@luckystack/login": "^0.1.0",
64
+ "@luckystack/error-tracking": "^0.1.0"
65
+ },
66
+ "peerDependencies": {
67
+ "@prisma/client": "^6.19.0",
68
+ "react": "^19.2.0",
69
+ "socket.io": "^4.8.0",
70
+ "socket.io-client": "^4.8.0"
71
+ },
72
+ "peerDependenciesMeta": {
73
+ "react": { "optional": true }
74
+ }
75
+ }