UNPKG

@eweser/db

Version:
75 lines (74 loc) 1.84 kB
{ "name": "@eweser/db", "version": "2.0.0", "description": "eweser-db core database", "keywords": [ "user-owned", "crdt", "interoperable", "local-first" ], "author": "jacobcoro", "type": "module", "homepage": "https://github.com/eweser/eweserdb", "license": "MIT", "directories": { "src": "src" }, "files": [ "/dist", "/src" ], "repository": { "type": "git", "url": "git+https://github.com/eweser/eweserdb.git" }, "source": "./src/index.ts", "types": "./dist/index.d.ts", "main": "./dist/db.umd.cjs", "module": "./dist/db.js", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/db.js", "require": "./dist/db.umd.cjs", "default": "./dist/db.js" } }, "scripts": { "test": "vitest --run --pool=threads", "build": "rm -rf dist; tsc --project tsconfig.build.json && npx vite build", "typescript-watch": "tsc --watch --project tsconfig.build.json", "vite-build-watch": "vite build --watch", "dev": "run-p vite-build-watch typescript-watch", "clean": "rm -rf dist", "type-check": "tsc --noEmit", "lint": "eslint ." }, "bugs": { "url": "https://github.com/eweser/eweserdb/issues" }, "publishConfig": { "access": "public" }, "devDependencies": { "@eweser/eslint-config-ts": "^1.15.0", "@types/request": "^2.48.13", "eslint": "^9.39.1", "fake-indexeddb": "^6.2.5", "jsdom": "^27.2.0", "npm-run-all": "^4.1.5", "typescript": "^5.9.3", "vite": "^7.2.4", "vitest": "^4.0.13" }, "gitHead": "d6ee91d84092583f851548fa9ffe8ccf5de5705a", "dependencies": { "@eweser/shared": "^2.0.0", "@hocuspocus/provider": "^2.15.3", "y-indexeddb": "^9.0.12", "y-webrtc": "^10.3.0", "yjs": "^13.6.27", "yjs-types": "^0.0.1" } }