Fix Web Sockets. Form into library. Move demo to demo folder. Split demo between sse and websocket.
This commit is contained in:
+10
-3
@@ -1,18 +1,25 @@
|
||||
{
|
||||
"name": "minimal-sync",
|
||||
"name": "@xo-cash/sync-client",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"description": "A minimal sync client for the XO Cash Sync Server",
|
||||
"main": "index.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"start": "tsx src/index.ts",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.js",
|
||||
"require": "./dist/index.cjs"
|
||||
}
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@types/node": "^26.1.1",
|
||||
"@types/node": "^26.6.1",
|
||||
"tsx": "^4.23.1",
|
||||
"typescript": "^7.0.2"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user