{
  "name": "sidetrail",
  "version": "0.1.0",
  "private": true,
  "workspaces": [
    "db",
    "ingester",
    "realtime"
  ],
  "scripts": {
    "dev": "next dev --turbopack",
    "dev:ingester": "npm run -w sidetrail-ingester dev",
    "dev:realtime": "npm run -w sidetrail-realtime dev",
    "build": "rm -rf .next/cache/* && next build --webpack",
    "start": "next start",
    "lint": "eslint --ext .js,.jsx,.ts,.tsx .",
    "typecheck": "tsc --noEmit",
    "check": "npm run lint && npm run typecheck",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "prepare": "husky",
    "postinstall": "patch-package && npm run lex:build",
    "lex:build": "lex build --lexicons ./lexicons --out ./lib/lexicons --clear --importExt \"\"",
    "db:push": "drizzle-kit push",
    "db:studio": "drizzle-kit studio",
    "test": "npx vitest run",
    "test:watch": "npx vitest",
    "deploy:app": "railway link --service sidetrail && railway up",
    "deploy:ingester": "railway link --service ingester && railway up",
    "deploy:realtime": "railway link --service realtime && railway up",
    "deploy:all": "npm run deploy:app & npm run deploy:ingester & npm run deploy:realtime & wait"
  },
  "dependencies": {
    "@atproto/api": "^0.17.4",
    "@atproto/identity": "^0.4.9",
    "@atproto/lex": "^0.0.4",
    "@atproto/oauth-client-node": "^0.3.11",
    "@atproto/syntax": "^0.4.2",
    "@opentelemetry/api": "^1.9.0",
    "@opentelemetry/instrumentation-pg": "^0.61.1",
    "@radix-ui/react-dialog": "^1.1.15",
    "@radix-ui/react-dropdown-menu": "^2.1.16",
    "@types/pg": "^8.15.6",
    "@types/ws": "^8.18.1",
    "@vercel/otel": "^2.1.0",
    "drizzle-orm": "^0.44.7",
    "eslint-plugin-react-hooks": "^7.0.1",
    "hls.js": "^1.6.13",
    "ioredis": "^5.8.2",
    "iron-session": "^8.0.4",
    "lru-cache": "^11.2.4",
    "next": "16.1.0-canary.12",
    "pg": "^8.16.3",
    "react": "^19",
    "react-dom": "^19",
    "ws": "^8.18.3"
  },
  "devDependencies": {
    "@eslint/js": "^9.39.1",
    "@types/node": "^22.14.1",
    "@types/react": "^19.2.7",
    "@types/react-dom": "^19.2.3",
    "@vitest/ui": "^4.0.1",
    "drizzle-kit": "^0.31.7",
    "eslint": "^9.39.1",
    "husky": "^9.1.7",
    "lint-staged": "^16.2.6",
    "patch-package": "^8.0.0",
    "prettier": "^3.6.2",
    "server-only": "^0.0.1",
    "typescript": "^5.9.3",
    "typescript-eslint": "^8.46.4",
    "vitest": "^4.0.1"
  },
  "overrides": {
    "next": "16.1.0-canary.12"
  },
  "engines": {
    "node": ">=22.16.0"
  },
  "lint-staged": {
    "*": "prettier --write --ignore-unknown"
  }
}
