{
  "name": "@cardog/corgi",
  "version": "2.0.4",
  "description": "Fast, offline VIN decoding for Node.js, browsers, and Cloudflare Workers. Powered by the NHTSA VPIC database.",
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "bin": {
    "corgi": "dist/cli.cjs"
  },
  "files": [
    "dist",
    "dist/db/vpic.lite.db.gz",
    "scripts",
    "examples",
    "README.md",
    "LICENSE",
    "corgi.png",
    "cardog-icon.png"
  ],
  "private": false,
  "sideEffects": false,
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.cjs",
      "default": "./dist/index.mjs"
    },
    "./browser": {
      "types": "./dist/browser.d.ts",
      "import": "./dist/browser.mjs",
      "default": "./dist/browser.mjs"
    },
    "./browser-adapter": {
      "types": "./dist/db/browser-adapter.d.ts",
      "import": "./dist/db/browser-adapter.mjs",
      "default": "./dist/db/browser-adapter.mjs"
    },
    "./d1-adapter": {
      "types": "./dist/db/d1-adapter.d.ts",
      "import": "./dist/db/d1-adapter.mjs",
      "default": "./dist/db/d1-adapter.mjs"
    }
  },
  "browser": {
    "./dist/index.mjs": "./dist/browser.mjs",
    "better-sqlite3": false
  },
  "scripts": {
    "build": "tsup",
    "test": "vitest run --config ./vitest.config.ts",
    "test:watch": "vitest --config ./vitest.config.ts",
    "test:coverage": "vitest run --coverage --config ./vitest.config.ts",
    "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
    "cli": "node dist/cli.cjs",
    "lint": "eslint \"lib/**/*.{ts,tsx}\"",
    "lint:fix": "eslint \"lib/**/*.{ts,tsx}\" --fix",
    "dev": "tsup --watch",
    "prepare-db": "node scripts/prepare-db.js",
    "prepublishOnly": "npm run community:apply && npm run build && npm run prepare-db",
    "optimize-db": "cd db && ./optimize-db-v3.sh",
    "to-d1": "node scripts/sqlite-to-d1.js",
    "changeset": "changeset",
    "version": "changeset version",
    "release": "pnpm community:apply && pnpm build && pnpm prepare-db && changeset publish",
    "community:validate": "tsx community/build/validate.ts --all",
    "community:apply": "tsx community/build/apply.ts",
    "community:apply:dry": "tsx community/build/apply.ts --dry-run",
    "community:generate": "tsx community/build/generate.ts"
  },
  "keywords": [
    "vin",
    "vin-decoder",
    "automotive",
    "vehicle-identification",
    "nhtsa",
    "vpic",
    "car-data",
    "vehicle-data",
    "offline",
    "fast",
    "lightweight",
    "typescript",
    "nodejs",
    "browser",
    "cloudflare",
    "cloudflare-workers",
    "sqlite",
    "pattern-matching",
    "validation",
    "automotive-api",
    "vehicle-lookup",
    "vin-validation",
    "performance"
  ],
  "author": {
    "name": "Cardog Team",
    "email": "hello@cardog.ai",
    "url": "https://cardog.ai"
  },
  "license": "ISC",
  "engines": {
    "node": ">=16.0.0"
  },
  "peerDependencies": {
    "sql.js": "^1.8.0"
  },
  "dependencies": {
    "better-sqlite3": "^9.4.1",
    "commander": "^12.0.0"
  },
  "devDependencies": {
    "@changesets/cli": "^2.29.5",
    "@cloudflare/workers-types": "^4.20250525.0",
    "@types/better-sqlite3": "^7.6.9",
    "@types/node": "^20.11.19",
    "@types/sql.js": "^1.4.9",
    "@typescript-eslint/eslint-plugin": "^7.0.0",
    "@typescript-eslint/parser": "^7.0.0",
    "@vitest/coverage-v8": "^1.3.1",
    "eslint": "^8.56.0",
    "sql.js": "^1.13.0",
    "tsup": "^8.0.2",
    "tsx": "^4.21.0",
    "typescript": "^5.3.3",
    "vitest": "^1.3.0",
    "yaml": "^2.8.2",
    "zod": "^4.3.6"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cardog-ai/corgi.git"
  },
  "bugs": {
    "url": "https://github.com/cardog-ai/corgi/issues"
  },
  "homepage": "https://github.com/cardog-ai/corgi#readme",
  "funding": {
    "type": "custom",
    "url": "https://cardog.app"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977",
  "pnpm": {
    "onlyBuiltDependencies": [
      "better-sqlite3"
    ]
  }
}
