UNPKG

@tonk/keepsync

Version:

A reactive sync engine framework for use with Tonk apps

90 lines (89 loc) 2.43 kB
{ "name": "@tonk/keepsync", "version": "0.6.1", "description": "A reactive sync engine framework for use with Tonk apps", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" }, "./slim": { "types": "./dist/slim.d.ts", "import": "./dist/slim.js", "default": "./dist/slim.js" } }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "npm run clean && npm run build:main && npm run build:slim && cp dist-slim/slim.js dist-slim/slim.js.map dist-slim/slim.d.ts dist/ && rm -rf dist-slim", "build:main": "vite build", "build:slim": "BUILD_SLIM=true vite build", "dev": "vite build --watch --mode development", "type-check": "tsc --noEmit", "clean": "rimraf dist dist-slim", "test": "vitest", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "format": "prettier --write src/**/*.ts", "format:check": "prettier --check src/**/*.ts", "compile": "tsc --noEmit", "prepare": "npm run build", "pretest": "npm run compile", "posttest": "npm run lint" }, "keywords": [ "tonk", "local-first", "sync", "real-time", "collaboration", "crdt", "automerge" ], "author": "Tonk", "license": "MIT", "devDependencies": { "@types/crypto-js": "^4.2.2", "@types/node": "^20.11.19", "@types/react": "^19.0.10", "@types/ws": "^8.5.14", "fake-indexeddb": "^6.0.0", "rimraf": "^5.0.5", "typescript": "^5.3.3", "vite": "^5.2.6", "vite-plugin-dts": "^3.8.0", "vitest": "^3.0.7" }, "dependencies": { "@automerge/automerge": "^3.1.1", "@automerge/automerge-repo": "^2.2.0", "@automerge/automerge-repo-network-websocket": "^2.2.0", "@automerge/automerge-repo-storage-indexeddb": "^2.2.0", "@automerge/automerge-repo-storage-nodefs": "^2.2.0", "axios": "^1.9.0", "bs58check": "^4.0.0", "chalk": "^5.4.1", "crypto-js": "^4.2.0", "superjson": "^2.2.2", "uuid": "^11.1.0", "vite-plugin-top-level-await": "^1.5.0", "vite-plugin-wasm": "^3.4.1", "ws": "^8.18.1" }, "peerDependencies": { "react": "^19.0.0", "zustand": "^5.0.3" }, "publishConfig": { "access": "public" } }