{
  "name": "@nicia-ai/typegraph",
  "version": "0.68.1",
  "description": "TypeScript-first embedded knowledge graph library with ontological reasoning",
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./backend": {
      "types": "./dist/backend/index.d.ts",
      "import": "./dist/backend/index.js",
      "require": "./dist/backend/index.cjs"
    },
    "./core": {
      "types": "./dist/core/index.d.ts",
      "import": "./dist/core/index.js",
      "require": "./dist/core/index.cjs"
    },
    "./interchange": {
      "types": "./dist/interchange/index.d.ts",
      "import": "./dist/interchange/index.js",
      "require": "./dist/interchange/index.cjs"
    },
    "./profiler": {
      "types": "./dist/profiler/index.d.ts",
      "import": "./dist/profiler/index.js",
      "require": "./dist/profiler/index.cjs"
    },
    "./schema": {
      "types": "./dist/schema/index.d.ts",
      "import": "./dist/schema/index.js",
      "require": "./dist/schema/index.cjs"
    },
    "./indexes": {
      "types": "./dist/indexes/index.d.ts",
      "import": "./dist/indexes/index.js",
      "require": "./dist/indexes/index.cjs"
    },
    "./graph-extension": {
      "types": "./dist/graph-extension/index.d.ts",
      "import": "./dist/graph-extension/index.js",
      "require": "./dist/graph-extension/index.cjs"
    },
    "./graph-merge": {
      "types": "./dist/graph-merge/index.d.ts",
      "import": "./dist/graph-merge/index.js",
      "require": "./dist/graph-merge/index.cjs"
    },
    "./provenance": {
      "types": "./dist/provenance/index.d.ts",
      "import": "./dist/provenance/index.js",
      "require": "./dist/provenance/index.cjs"
    },
    "./sqlite/local": {
      "types": "./dist/backend/sqlite/local-store.d.ts",
      "import": "./dist/backend/sqlite/local-store.js",
      "require": "./dist/backend/sqlite/local-store.cjs"
    },
    "./postgres/pglite": {
      "types": "./dist/backend/postgres/pglite-store.d.ts",
      "import": "./dist/backend/postgres/pglite-store.js",
      "require": "./dist/backend/postgres/pglite-store.cjs"
    },
    "./adapters/drizzle/sqlite": {
      "types": "./dist/backend/sqlite/index.d.ts",
      "import": "./dist/backend/sqlite/index.js",
      "require": "./dist/backend/sqlite/index.cjs"
    },
    "./adapters/drizzle/postgres": {
      "types": "./dist/backend/postgres/index.d.ts",
      "import": "./dist/backend/postgres/index.js",
      "require": "./dist/backend/postgres/index.cjs"
    },
    "./adapters/drizzle/postgres/pglite": {
      "types": "./dist/backend/postgres/pglite.d.ts",
      "import": "./dist/backend/postgres/pglite.js",
      "require": "./dist/backend/postgres/pglite.cjs"
    },
    "./adapters/drizzle/sqlite/local": {
      "types": "./dist/backend/sqlite/local.d.ts",
      "import": "./dist/backend/sqlite/local.js",
      "require": "./dist/backend/sqlite/local.cjs"
    },
    "./adapters/drizzle/sqlite/libsql": {
      "types": "./dist/backend/sqlite/libsql.d.ts",
      "import": "./dist/backend/sqlite/libsql.js",
      "require": "./dist/backend/sqlite/libsql.cjs"
    },
    "./adapters/drizzle/indexes": {
      "types": "./dist/backend/drizzle/indexes.d.ts",
      "import": "./dist/backend/drizzle/indexes.js",
      "require": "./dist/backend/drizzle/indexes.cjs"
    },
    "./adapters/drizzle/engine": {
      "types": "./dist/backend/drizzle/engine/index.d.ts",
      "import": "./dist/backend/drizzle/engine/index.js",
      "require": "./dist/backend/drizzle/engine/index.cjs"
    }
  },
  "files": [
    "dist",
    "README.md",
    "CHANGELOG.md",
    "LICENSE"
  ],
  "sideEffects": false,
  "keywords": [
    "graph",
    "knowledge-graph",
    "typescript",
    "sqlite",
    "drizzle",
    "zod",
    "ontology",
    "semantic"
  ],
  "author": "Nicia AI, Inc.",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/nicia-ai/typegraph.git",
    "directory": "packages/typegraph"
  },
  "bugs": {
    "url": "https://github.com/nicia-ai/typegraph/issues"
  },
  "homepage": "https://typegraph.dev",
  "publishConfig": {
    "access": "public"
  },
  "engines": {
    "node": ">=22"
  },
  "peerDependencies": {
    "@electric-sql/pglite": ">=0.5.0 <0.6.0",
    "@electric-sql/pglite-pgvector": ">=0.0.2 <1.0.0",
    "@libsql/client": ">=0.6.0",
    "@neondatabase/serverless": ">=0.9.0 <2.0.0",
    "better-sqlite3": ">=9.0.0 <14.0.0",
    "drizzle-orm": ">=0.35.0 <1.0.0",
    "pg": ">=8.0.0 <9.0.0",
    "postgres": ">=3.4.0 <4.0.0",
    "zod": "^4.0.0"
  },
  "peerDependenciesMeta": {
    "@electric-sql/pglite": {
      "optional": true
    },
    "@electric-sql/pglite-pgvector": {
      "optional": true
    },
    "@libsql/client": {
      "optional": true
    },
    "@neondatabase/serverless": {
      "optional": true
    },
    "better-sqlite3": {
      "optional": true
    },
    "drizzle-orm": {
      "optional": true
    },
    "pg": {
      "optional": true
    },
    "postgres": {
      "optional": true
    }
  },
  "dependencies": {
    "nanoid": "^5.1.16"
  },
  "devDependencies": {
    "@cloudflare/vitest-pool-workers": "^0.22.0",
    "@electric-sql/pglite": "^0.5.4",
    "@electric-sql/pglite-pgvector": "^0.0.5",
    "@libsql/client": "^0.17.4",
    "@microsoft/api-extractor": "^7.58.11",
    "@neondatabase/serverless": "^1.1.0",
    "@stryker-mutator/core": "^9.6.1",
    "@stryker-mutator/vitest-runner": "^9.6.1",
    "@types/better-sqlite3": "^7.6.13",
    "@types/node": "^24.13.2",
    "@types/pg": "^8.20.0",
    "@vitest/coverage-v8": "^4.1.9",
    "better-sqlite3": "^13.0.3",
    "drizzle-orm": "^0.45.2",
    "eslint": "^10.6.0",
    "fast-check": "^4.8.0",
    "pg": "^8.22.0",
    "postgres": "^3.4.9",
    "sqlite-vec": "^0.1.9",
    "tsd": "^0.33.0",
    "tsup": "^8.5.1",
    "typescript": "^5.9.3",
    "vitest": "^4.1.9",
    "zod": "^4.4.3"
  },
  "scripts": {
    "dev": "tsup --watch",
    "build": "tsup",
    "lint": "eslint .",
    "typecheck": "tsc --noEmit --skipLibCheck",
    "test:types": "node --import tsx scripts/test-types.ts all",
    "test:types:inline": "node --import tsx scripts/test-types.ts inline",
    "test:types:declarations": "node --import tsx scripts/test-types.ts declarations",
    "test:types:consumer": "node --import tsx scripts/test-types.ts consumer",
    "test:strict-local-consumers": "node --import tsx scripts/test-strict-local-consumers.ts",
    "test:api-report": "pnpm build && node --import tsx scripts/api-report.ts",
    "api-report:update": "pnpm build && node --import tsx scripts/api-report.ts --local",
    "test:api-surface": "node --import tsx scripts/api-surface-compat.ts",
    "test:examples": "node --import tsx scripts/test-examples.ts sqlite",
    "test:examples:postgres": "node --import tsx scripts/test-examples.ts postgres",
    "pretest": "node --import tsx scripts/ensure-native-sqlite.ts",
    "test": "vitest run",
    "pretest:unit": "node --import tsx scripts/ensure-native-sqlite.ts",
    "test:unit": "TYPEGRAPH_TEST_SCOPE=unit vitest run",
    "pretest:property": "node --import tsx scripts/ensure-native-sqlite.ts",
    "test:property": "vitest run tests/property",
    "pretest:perf": "node --import tsx scripts/ensure-native-sqlite.ts",
    "test:perf": "pnpm --filter @nicia-ai/typegraph-benchmarks perf:check",
    "bench:perf": "pnpm --filter @nicia-ai/typegraph-benchmarks perf",
    "test:perf:postgres": "pnpm --filter @nicia-ai/typegraph-benchmarks perf:check:postgres",
    "bench:perf:postgres": "pnpm --filter @nicia-ai/typegraph-benchmarks perf:postgres",
    "test:postgres": "./scripts/test-postgres.sh",
    "test:do": "vitest run --config vitest.workers.config.ts",
    "test:coverage": "vitest run --coverage",
    "test:coverage:merge": "vitest run --merge-reports=.vitest-reports --coverage",
    "test:mutation": "stryker run",
    "test:mutation:critical": "stryker run stryker.critical.config.json",
    "test:mutation:claims": "stryker run stryker.claims.config.json"
  }
}