{
  "name": "std-toolkit",
  "version": "0.0.11",
  "private": false,
  "description": "Single-table design toolkit: database-agnostic sync over single-table item collections, with schema evolution, portable database adapters, and TanStack DB integration",
  "keywords": [
    "dynamodb",
    "effect",
    "indexeddb",
    "in-memory",
    "schema",
    "single table design",
    "sqlite",
    "sync",
    "tanstack"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/pkishorez/monorepo",
    "directory": "toolkits/std-toolkit"
  },
  "license": "MIT",
  "type": "module",
  "bin": {
    "std-toolkit": "bin/std-toolkit.mjs"
  },
  "exports": {
    "./db": {
      "types": "./dist/db/index.d.ts",
      "default": "./dist/db/index.js"
    },
    "./db/dynamodb": {
      "types": "./dist/db/dynamodb/index.d.ts",
      "default": "./dist/db/dynamodb/index.js"
    },
    "./db/idb": {
      "types": "./dist/db/idb/index.d.ts",
      "default": "./dist/db/idb/index.js"
    },
    "./db/memory": {
      "types": "./dist/db/memory/index.d.ts",
      "default": "./dist/db/memory/index.js"
    },
    "./db/sqlite": {
      "types": "./dist/db/sqlite/index.d.ts",
      "default": "./dist/db/sqlite/index.js"
    },
    "./db/sqlite/better-sqlite3": {
      "types": "./dist/db/sqlite/drivers/better-sqlite3/index.d.ts",
      "default": "./dist/db/sqlite/drivers/better-sqlite3/index.js"
    },
    "./db/sqlite/bun": {
      "types": "./dist/db/sqlite/drivers/bun/index.d.ts",
      "default": "./dist/db/sqlite/drivers/bun/index.js"
    },
    "./db/sqlite/d1": {
      "types": "./dist/db/sqlite/drivers/d1/index.d.ts",
      "default": "./dist/db/sqlite/drivers/d1/index.js"
    },
    "./db/sqlite/durable-object": {
      "types": "./dist/db/sqlite/drivers/durable-object/index.d.ts",
      "default": "./dist/db/sqlite/drivers/durable-object/index.js"
    },
    "./db/sqlite/node": {
      "types": "./dist/db/sqlite/drivers/node/index.d.ts",
      "default": "./dist/db/sqlite/drivers/node/index.js"
    },
    "./core": {
      "types": "./dist/core/index.d.ts",
      "default": "./dist/core/index.js"
    },
    "./eschema": {
      "types": "./dist/eschema/index.d.ts",
      "default": "./dist/eschema/index.js"
    },
    "./snapshot": {
      "types": "./dist/snapshot/index.d.ts",
      "default": "./dist/snapshot/index.js"
    },
    "./studio-rpc": {
      "types": "./dist/studio-rpc/index.d.ts",
      "default": "./dist/studio-rpc/index.js"
    },
    "./sync": {
      "types": "./dist/sync/index.d.ts",
      "default": "./dist/sync/index.js"
    },
    "./sync/paced": {
      "types": "./dist/sync/collection/pacing/index.d.ts",
      "default": "./dist/sync/collection/pacing/index.js"
    },
    "./sync/leadership/in-memory": {
      "types": "./dist/sync/platform/leadership/in-memory/index.d.ts",
      "default": "./dist/sync/platform/leadership/in-memory/index.js"
    },
    "./sync/platform/browser": {
      "types": "./dist/sync/platform/browser/index.d.ts",
      "default": "./dist/sync/platform/browser/index.js"
    },
    "./db/dynamodb/alchemy": {
      "types": "./dist/db/dynamodb/alchemy/index.d.ts",
      "default": "./dist/db/dynamodb/alchemy/index.js"
    }
  },
  "files": [
    "bin",
    "dist",
    "src",
    "README.md",
    "LICENSE"
  ],
  "dependencies": {
    "@effect/platform-node": "4.0.0-rc.112",
    "@effect/platform-node-shared": "4.0.0-rc.112",
    "@standard-schema/spec": "1.1.0",
    "aws4fetch": "1.0.20",
    "idb": "8.0.3",
    "jiti": "2.7.0",
    "type-fest": "5.9.0",
    "ulidx": "2.4.1",
    "@pkishorez/flow": "0.0.11"
  },
  "devDependencies": {
    "@cloudflare/workers-types": "5.20260904.1",
    "@tanstack/query-db-collection": "1.2.5",
    "@tanstack/react-db": "0.3.0",
    "@tsconfig/node22": "22.0.6",
    "@types/better-sqlite3": "9.6.0",
    "@types/bun": "1.4.1",
    "@types/node": "26.4.1",
    "@types/react": "19.2.18",
    "alchemy": "2.0.0-beta.76",
    "better-sqlite3": "13.0.3",
    "effect": "4.0.0-rc.112",
    "fake-indexeddb": "6.2.5",
    "miniflare": "4.20260730.0",
    "react": "19.2.8",
    "typescript": "7.0.2",
    "vite-plus": "0.3.0",
    "vitest": "4.1.11",
    "@pkishorez/effect-tracer": "0.0.11",
    "laymos": "0.0.11"
  },
  "peerDependencies": {
    "@tanstack/react-db": ">=0.1.64",
    "effect": "4.0.0-rc.112",
    "react": "^18 || ^19",
    "alchemy": "2.0.0-beta.76"
  },
  "peerDependenciesMeta": {
    "@tanstack/react-db": {
      "optional": true
    },
    "react": {
      "optional": true
    },
    "alchemy": {
      "optional": true
    }
  },
  "engines": {
    "node": ">=24"
  },
  "scripts": {
    "build": "tsc -p tsconfig.build.json",
    "build:watch": "tsc -p tsconfig.build.json --watch",
    "dynamodb:generate": "bun scripts/dynamodb/generate.ts",
    "dynamodb:local": "docker run --rm -p 8090:8000 amazon/dynamodb-local -jar DynamoDBLocal.jar -sharedDb -inMemory",
    "fmt": "vp fmt",
    "lint": "vp check && pnpm lint:tsc && pnpm lint:laymos",
    "stories": "laymos stories",
    "lint:laymos": "laymos lint",
    "lint:tsc": "tsc",
    "test": "DYNAMODB_LOCAL_ENDPOINT=http://localhost:8090 REQUIRE_DYNAMODB_LOCAL=true vitest run",
    "test:watch": "vitest"
  }
}