{ "$schema": "https://json.schemastore.org/package.json", "name": "@opencode/stats-core", "version": "2.1.4", "private": true, "type": "module", "license": "MIT", "exports": { ".": "./src/index.ts", "./config": "./src/config.ts", "./database": "./src/database.ts", "./database/*": "./src/database/*.ts", "./domain/*": "./src/domain/*.ts", "./r2-sql": "./src/r2-sql.ts", "./runtime": "./src/runtime.ts", "./stat-sync": "./src/stat-sync.ts", "./sync-range": "./src/sync-range.ts" }, "scripts": { "db:generate": "drizzle-kit generate --config=drizzle.config.ts", "db:check-unique-users": "bun src/ensure-unique-users.ts --check", "db:ensure-unique-users": "bun src/ensure-unique-users.ts", "db:migrate": "bun src/migrate.ts", "db:push": "drizzle-kit push --config=drizzle.config.ts", "db:studio": "drizzle-kit studio --config=drizzle.config.ts", "honeycomb:backfill": "bun src/honeycomb-backfill.ts", "test": "bun test --only-failures", "typecheck": "bun check --no-script", "typecheck:tsc": "tsc --noEmit" }, "dependencies": { "@planetscale/database": "1.19.0", "drizzle-orm": "catalog:", "effect": "catalog:", "sst": "catalog:" }, "devDependencies": { "@tsconfig/node22": "catalog:", "@types/bun": "catalog:", "@types/node": "catalog:", "@typescript/native": "catalog:", "drizzle-kit": "catalog:", "typescript": "catalog:" }, "engines": { "node": ">=22" } }