{
  "name": "@powerhousedao/reactor-api",
  "version": "6.2.1",
  "description": "GraphQL API layer for the Powerhouse reactor — auto-generated subgraphs per document model plus the core reactor subgraph for drive and document management.",
  "type": "module",
  "repository": {
    "type": "git",
    "url": "https://github.com/powerhouse-inc/powerhouse",
    "directory": "packages/reactor-api"
  },
  "exports": {
    ".": {
      "source": "./index.mts",
      "types": "./dist/index.d.mts",
      "import": "./dist/index.mjs"
    },
    "./vite": {
      "source": "./src/packages/vite-loader.mts",
      "types": "./dist/vite-loader.d.mts",
      "import": "./dist/src/packages/vite-loader.mjs"
    },
    "./https-hooks": {
      "source": "./src/packages/https-hooks.mts",
      "types": "./dist/https-hooks.d.mts",
      "import": "./dist/src/packages/https-hooks.mjs"
    },
    "./test": {
      "import": "./test/index.ts"
    }
  },
  "types": "./dist/index.d.mts",
  "files": [
    "dist"
  ],
  "sideEffects": false,
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "powerhouse",
    "vetra",
    "document-model",
    "local-first",
    "event-sourcing",
    "reactor",
    "graphql",
    "subgraph",
    "api"
  ],
  "author": "",
  "license": "AGPL-3.0-only",
  "dependencies": {
    "@apollo/gateway": "^2.13.2",
    "@apollo/server": "^5.5.1",
    "@apollo/subgraph": "^2.13.2",
    "@as-integrations/express4": "^1.1.2",
    "@electric-sql/pglite": "0.3.15",
    "@originjs/vite-plugin-commonjs": "^1.0.3",
    "@powerhousedao/document-engineering": "1.40.5",
    "body-parser": "^1.20.3",
    "change-case": "5.4.4",
    "cors": "^2.8.5",
    "devcert": "^1.2.2",
    "dotenv": "^16.4.5",
    "express": "4.21.1",
    "graphql-sse": "2.6.0",
    "graphql-subscriptions": "^3.0.0",
    "graphql-type-json": "^0.3.2",
    "graphql-ws": "6.0.7",
    "knex": "3.1.0",
    "knex-pglite": "0.13.0",
    "kysely": "0.28.16",
    "kysely-knex": "0.2.0",
    "path-to-regexp": "^8.4.0",
    "pg": "8.18.0",
    "read-pkg": "10.1.0",
    "ws": "^8.18.3",
    "zod": "4.3.6",
    "@powerhousedao/analytics-engine-graphql": "6.2.1",
    "@powerhousedao/analytics-engine-core": "6.2.1",
    "@powerhousedao/analytics-engine-pg": "6.2.1",
    "@powerhousedao/config": "6.2.1",
    "@powerhousedao/pglite-fs": "6.2.1",
    "@powerhousedao/reactor": "6.2.1",
    "@powerhousedao/reactor-mcp": "6.2.1",
    "@powerhousedao/shared": "6.2.1",
    "@renown/sdk": "6.2.1",
    "@powerhousedao/reactor-drive": "6.2.1",
    "document-model": "6.2.1",
    "@powerhousedao/reactor-attachments": "6.2.1"
  },
  "devDependencies": {
    "@fastify/cors": "^11.0.1",
    "@fastify/formbody": "^8.0.1",
    "@fastify/middie": "^9.3.2",
    "@mercuriusjs/gateway": "^5.2.0",
    "fastify": "^5.8.5",
    "mercurius": "^16.8.0",
    "@graphql-codegen/cli": "6.1.1",
    "@graphql-codegen/typescript": "5.0.7",
    "@graphql-codegen/typescript-generic-sdk": "4.1.0",
    "@graphql-codegen/typescript-operations": "5.0.7",
    "@graphql-codegen/typescript-resolvers": "5.1.5",
    "@types/body-parser": "^1.19.5",
    "@types/cors": "^2.8.17",
    "@types/express": "4.17.25",
    "@types/node": "25.2.3",
    "@types/pg": "8.16.0",
    "@types/ws": "^8.18.1",
    "graphql": "^16",
    "graphql-tag": "^2",
    "tsdown": "0.21.1",
    "msw": "^2.7.3",
    "vitest": "4.1.1"
  },
  "peerDependencies": {
    "@fastify/cors": "^11.0.1",
    "@fastify/formbody": "^8.0.1",
    "@fastify/middie": "^9.3.2",
    "@mercuriusjs/gateway": "^5.2.0",
    "fastify": "^5.8.5",
    "graphql": "^16",
    "graphql-tag": "^2",
    "mercurius": "^16.8.0",
    "vite": "^8.0.0"
  },
  "peerDependenciesMeta": {
    "@fastify/cors": {
      "optional": true
    },
    "@fastify/formbody": {
      "optional": true
    },
    "@fastify/middie": {
      "optional": true
    },
    "@mercuriusjs/gateway": {
      "optional": true
    },
    "fastify": {
      "optional": true
    },
    "mercurius": {
      "optional": true
    },
    "vite": {
      "optional": true
    }
  },
  "homepage": "https://academy.vetra.io",
  "scripts": {
    "tsc": "tsc",
    "build": "tsdown",
    "lint": "eslint",
    "test": "vitest --run",
    "test:integration": "RUN_HUB_SPOKE_INTEGRATION=1 vitest --run test/hub-spoke-catchup.integration.test.ts",
    "bench": "vitest bench",
    "codegen": "graphql-codegen --config codegen.ts && prettier --write src/graphql/reactor/gen/*.ts && eslint --fix src/graphql/reactor/gen/*.ts --no-warn-ignored",
    "codegen:watch": "graphql-codegen --config codegen.ts --watch",
    "dev": "tsx src/dev.ts",
    "capture-hub-dump": "tsx scripts/capture-hub-dump.ts",
    "convert-hub-dump": "tsx scripts/convert-hub-dump.ts"
  }
}