{
  "name": "@fastify-dev-toolkit/plugin",
  "version": "1.0.1",
  "description": "",
  "scripts": {
    "build_": "npm run clean && rimraf dist && npm run gen:schema && npm run build:esm && npm run build:cjs",
    "build": "npm run clean && rimraf dist && npm run build:esm && npm run build:cjs && tsconfig-to-dual-package",
    "build1": "npm run clean && rimraf dist && npm run build:esm && npm run build:esm2cjs",
    "build:esm": "tsc -p tsconfig.esm.json && tsc-alias -p tsconfig.esm.json",
    "build:cjs": "tsc -p tsconfig.cjs.json && tsc-alias -p tsconfig.cjs.json",
    "build:esm2cjs": " esm2cjs --in ./dist/esm --out ./dist/cjs -l error",
    "build:manual": "rimraf dist && tsc -p tsconfig.json && tsc-alias && npm run gen:schema",
    "start": "node dist/main.js",
    "dev": "ts-node ./src/main.ts | pino-pretty --colorize",
    "test:api:coverage": "PORT=0 node --require ts-node/register node_modules/.bin/vitest --config ./vitest.config.mjs run --coverage",
    "test:api:run": "PORT=0 node --require ts-node/register node_modules/.bin/vitest --config ./vitest.config.mjs run",
    "test:api:debug": "PORT=0 node --require ts-node/register node_modules/.bin/vitest --config ./vitest.config.mjs",
    "test:ci": "docker-compose down -v && docker-compose -f docker-compose.yml up --build --exit-code-from iot-center-server --abort-on-container-exit",
    "test:ci:run": "npm run test:ci:db && npm run test:api:coverage",
    "test:ci:debug": "docker-compose down -v && docker-compose up iot-center-database --abort-on-container-exit",
    "test:ci:db": "ENVIRONMENT=test npm run db:migrate && npm run db:seed:run ",
    "update:packages": "npx npm-check-updates -u",
    "lint": "eslint '{src,test}/**/*.ts'",
    "lint:fix": "eslint --fix '{src,test}/**/*.ts'",
    "format": "prettier --write 'src/**/*.ts'",
    "sync:db": "node ./sync-db-schema.js --out-file ./database.ts --dialect mysql --log-level=error",
    "gen:schema": "node ./gen-schema.js",
    "clean": "tsc --build --clean",
    "pub": "npm publish --access=public --registry=https://registry.npmjs.com",
    "prepublish": "ts-patch install -s"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "main": "./dist/cjs/index.js",
  "types": "./dist/cjs/index.d.ts",
  "module": "src/esm/index.js",
  "files": [
    "dist/cjs",
    "dist/esm"
  ],
  "exports": {
    ".": {
      "import": {
        "types": "./dist/esm/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "types": "./dist/cjs/index.d.ts",
        "default": "./dist/cjs/index.js"
      },
      "default": "./dist/cjs/index.js",
      "types": "./dist/cjs/index.d.ts"
    },
    "./compiler/transformer": {
      "import": {
        "default": "./dist/esm/compiler/transformer.js",
        "types": "./dist/esm/compiler/transformer.d.ts"
      },
      "require": {
        "default": "./dist/cjs/compiler/transformer.js",
        "types": "./dist/cjs/compiler/transformer.d.ts"
      },
      "default": "./dist/cjs/compiler/transformer.js",
      "types": "./dist/cjs/compiler/transformer.d.ts"
    },
    "./compiler/schema-extractor": {
      "import": {
        "default": "./dist/esm/compiler/schema-extractor.js",
        "types": "./dist/esm/compiler/schema-extractor.d.ts"
      },
      "require": {
        "default": "./dist/cjs/compiler/schema-extractor.js",
        "types": "./dist/cjs/compiler/schema-extractor.d.ts"
      },
      "default": "./dist/cjs/compiler/schema-extractor.js",
      "types": "./dist/cjs/compiler/schema-extractor.d.ts"
    },
    "./package.json": "./package.json"
  },
  "dependencies": {
    "@fastify/cors": "^10.0.1",
    "@fastify/formbody": "^8.0.1",
    "@fastify/multipart": "^9.0.1",
    "@fastify/swagger": "^9.2.0",
    "@fastify/swagger-ui": "^5.0.1",
    "@scalar/fastify-api-reference": "^1.25.34",
    "dotenv": "^16.4.5",
    "drizzle-orm": "^0.34.1",
    "fastify": "^5.0.0",
    "fastify-plugin": "^5.0.0",
    "fastify-tsconfig": "^2.0.0",
    "fastify5x-openapi3": "^0.7.0-alpha.3",
    "glob": "^10.3.10",
    "http-errors": "^2.0.0",
    "mysql2": "^3.11.3",
    "reflect-metadata": "^0.2.2",
    "rimraf": "^5.0.10",
    "rotating-file-stream": "^3.2.3",
    "ts-json-schema-generator": "^2.3.0",
    "ts-node": "^10.9.2",
    "tsc-alias": "^1.8.10",
    "tsconfig-paths": "^4.2.0",
    "winston": "^3.14.2",
    "winston-daily-rotate-file": "^5.0.0"
  },
  "devDependencies": {
    "@types/http-errors": "^2.0.4",
    "@types/node": "^22.7.4",
    "@vitest/coverage-v8": "^2.0.5",
    "pino-pretty": "^11.2.2",
    "ts-expose-internals": "^5.5.4",
    "ts-patch": "^3.2.1",
    "tsconfig-to-dual-package": "^1.2.0",
    "tslib": "^2.6.3",
    "tsx": "^4.19.1",
    "typescript": "^5.6.3",
    "vite-tsconfig-paths": "^5.0.1",
    "vitest": "^2.0.5"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "overrides": {
    "vite": {
      "rollup": "npm:@rollup/wasm-node"
    },
    "@eropple/fastify-openapi3": {
      "fastify": "^5.0.0"
    }
  },
  "resolutions": {
    "fastify": "^5.0.0"
  }
}
