{
  "name": "@homarr/db",
  "version": "0.1.0",
  "private": true,
  "license": "MIT",
  "type": "module",
  "exports": {
    ".": "./index.ts",
    "./client": "./client.ts",
    "./schema/sqlite": "./schema/sqlite.ts",
    "./test": "./test/index.ts",
    "./queries": "./queries/index.ts"
  },
  "main": "./index.ts",
  "types": "./index.ts",
  "scripts": {
    "build": "pnpm run build:sqlite && pnpm run build:mysql",
    "build:mysql": "esbuild migrations/mysql/migrate.ts --bundle --platform=node --outfile=migrations/mysql/migrate.cjs",
    "build:sqlite": "esbuild migrations/sqlite/migrate.ts --bundle --platform=node --outfile=migrations/sqlite/migrate.cjs",
    "clean": "rm -rf .turbo node_modules",
    "format": "prettier --check . --ignore-path ../../.gitignore",
    "lint": "eslint",
    "migration:mysql:generate": "drizzle-kit generate --config ./configs/mysql.config.ts",
    "migration:mysql:run": "drizzle-kit migrate --config ./configs/mysql.config.ts",
    "migration:sqlite:generate": "drizzle-kit generate --config ./configs/sqlite.config.ts",
    "migration:sqlite:run": "drizzle-kit migrate --config ./configs/sqlite.config.ts",
    "push:mysql": "drizzle-kit push --config ./configs/mysql.config.ts",
    "push:sqlite": "drizzle-kit push --config ./configs/sqlite.config.ts",
    "studio": "drizzle-kit studio --config ./configs/sqlite.config.ts",
    "typecheck": "tsc --noEmit"
  },
  "prettier": "@homarr/prettier-config",
  "dependencies": {
    "@auth/core": "^0.35.2",
    "@homarr/common": "workspace:^0.1.0",
    "@homarr/definitions": "workspace:^0.1.0",
    "@homarr/log": "workspace:^0.1.0",
    "@paralleldrive/cuid2": "^2.2.2",
    "@testcontainers/mysql": "^10.13.1",
    "better-sqlite3": "^11.3.0",
    "dotenv": "^16.4.5",
    "drizzle-kit": "^0.24.2",
    "drizzle-orm": "^0.33.0",
    "mysql2": "3.11.3"
  },
  "devDependencies": {
    "@homarr/eslint-config": "workspace:^0.2.0",
    "@homarr/prettier-config": "workspace:^0.1.0",
    "@homarr/tsconfig": "workspace:^0.1.0",
    "@types/better-sqlite3": "7.6.11",
    "dotenv-cli": "^7.4.2",
    "eslint": "^9.11.1",
    "prettier": "^3.3.3",
    "typescript": "^5.6.2"
  }
}
