@eide/sync-client 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/dist/index.d.ts +542 -0
- package/dist/index.js +1572 -0
- package/dist/react.d.ts +541 -0
- package/dist/react.js +1857 -0
- package/package.json +67 -0
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@eide/sync-client",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Local-first sync engine and collaborative editing SDK for Foir platform",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
12
|
+
},
|
|
13
|
+
"./react": {
|
|
14
|
+
"import": "./dist/react.js",
|
|
15
|
+
"types": "./dist/react.d.ts"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "tsup",
|
|
23
|
+
"dev": "tsup --watch",
|
|
24
|
+
"check-types": "tsc --noEmit",
|
|
25
|
+
"lint": "eslint src/",
|
|
26
|
+
"lint:fix": "eslint src/ --fix",
|
|
27
|
+
"test": "vitest run",
|
|
28
|
+
"test:watch": "vitest",
|
|
29
|
+
"prepublishOnly": "npm run build"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"react": "^18.0.0 || ^19.0.0"
|
|
33
|
+
},
|
|
34
|
+
"peerDependenciesMeta": {
|
|
35
|
+
"react": {
|
|
36
|
+
"optional": true
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"idb": "^8.0.2",
|
|
41
|
+
"graphql": "^16.11.0",
|
|
42
|
+
"graphql-ws": "^5.16.0",
|
|
43
|
+
"yjs": "^13.6.27",
|
|
44
|
+
"y-websocket": "^3.0.0",
|
|
45
|
+
"y-protocols": "^1.0.6",
|
|
46
|
+
"lib0": "^0.2.114"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@types/react": "^19.2.0",
|
|
50
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
51
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
52
|
+
"eslint": "^9.0.0",
|
|
53
|
+
"react": "19.1.1",
|
|
54
|
+
"tsup": "^8.4.0",
|
|
55
|
+
"typescript": "5.9.2",
|
|
56
|
+
"vite": "^6.0.0",
|
|
57
|
+
"vitest": "^3.2.0"
|
|
58
|
+
},
|
|
59
|
+
"publishConfig": {
|
|
60
|
+
"access": "public"
|
|
61
|
+
},
|
|
62
|
+
"license": "MIT",
|
|
63
|
+
"repository": {
|
|
64
|
+
"type": "git",
|
|
65
|
+
"url": "https://github.com/eidebuild/foir-sync-client.git"
|
|
66
|
+
}
|
|
67
|
+
}
|