{
  "name": "cogsbox-shape",
  "version": "0.5.237",
  "description": "A TypeScript library for creating type-safe database schemas with Zod validation, SQL type definitions, and automatic client/server transformations. Unifies client, server, and database types through a single schema definition, with built-in support for relationships and serialization.",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist",
    "cogsbox-shape-db/dist",
    "cogsbox-shape-state/dist"
  ],
  "repository": "github:cogsbox/cogsbox-shape",
  "scripts": {
    "build": "tsc && pnpm --dir cogsbox-shape-db run build && pnpm --dir cogsbox-shape-state run build",
    "lint": "eslint src --ext .ts",
    "format": "prettier --write \"src/**/*.ts\"",
    "test": "vitest  ",
    "typecheck": "tsc --noEmit && tsc --noEmit -p src/vitest/tsconfig.json",
    "playground": "pnpm --filter cogsbox-shape-playground dev"
  },
  "bin": {
    "cogsbox-shape": "./dist/cli.js"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./db": {
      "types": "./cogsbox-shape-db/dist/index.d.ts",
      "import": "./cogsbox-shape-db/dist/index.js",
      "default": "./cogsbox-shape-db/dist/index.js"
    },
    "./db/sqlite": {
      "types": "./cogsbox-shape-db/dist/sqlite/index.d.ts",
      "import": "./cogsbox-shape-db/dist/sqlite/index.js",
      "default": "./cogsbox-shape-db/dist/sqlite/index.js"
    },
    "./db/cloudflare-d1": {
      "types": "./cogsbox-shape-db/dist/cloudflare-d1/index.d.ts",
      "import": "./cogsbox-shape-db/dist/cloudflare-d1/index.js",
      "default": "./cogsbox-shape-db/dist/cloudflare-d1/index.js"
    },
    "./state": {
      "types": "./cogsbox-shape-state/dist/index.d.ts",
      "import": "./cogsbox-shape-state/dist/index.js",
      "default": "./cogsbox-shape-state/dist/index.js"
    },
    "./package.json": "./package.json"
  },
  "keywords": [
    "typescript",
    "orm",
    "database",
    "full-stack",
    "type-safe",
    "client-server",
    "zod",
    "validation",
    "cogs",
    "schema",
    "types"
  ],
  "author": "",
  "license": "MIT",
  "dependencies": {
    "commander": "^13.1.0",
    "kysely": "^0.29.2",
    "tsx": "^4.19.3",
    "uuid": "^11.0.0"
  },
  "optionalDependencies": {
    "better-sqlite3": "^11.7.0"
  },
  "devDependencies": {
    "@types/node": "^20.10.5",
    "@types/react": "^19.2.14",
    "@types/uuid": "^11.0.0",
    "@typescript-eslint/eslint-plugin": "^6.15.0",
    "@typescript-eslint/parser": "^6.15.0",
    "eslint": "^8.56.0",
    "expect-type": "^1.2.1",
    "prettier": "^3.1.1",
    "typescript": "^5.3.3",
    "vitest": "^3.2.0",
    "zod": "^3.25.0 || ^4.0.0"
  },
  "peerDependencies": {
    "zod": "^3.22.4 || ^4.0.0"
  },
  "pnpm": {
    "onlyBuiltDependencies": [
      "better-sqlite3"
    ]
  },
  "type": "module"
}
