{
  "name": "mercadodevida-backend",
  "version": "0.1.0",
  "private": true,
  "type": "module",
  "description": "mercadodevida vNext backend - modular monolith skeleton",
  "engines": {
    "node": ">=22"
  },
  "scripts": {
    "build": "tsc -p tsconfig.build.json",
    "dev": "tsx watch src/infrastructure/http/server.ts",
    "start": "node --env-file=.env dist/infrastructure/http/server.js",
    "lint": "eslint src scripts migrations && prettier --check src scripts migrations",
    "lint:boundaries": "node scripts/check-module-boundaries.mjs src",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "test": "vitest run",
    "test:integration": "node --env-file-if-exists=.env node_modules/vitest/vitest.mjs run itest",
    "docker:up": "docker compose up -d --wait",
    "docker:down": "docker compose down",
    "db:seed": "node --env-file-if-exists=.env scripts/seed.cjs",
    "db:down": "node --env-file-if-exists=.env node_modules/node-pg-migrate/bin/node-pg-migrate.js down --migrations-dir migrations",
    "db:status": "node --env-file-if-exists=.env scripts/db-status.mjs"
  },
  "dependencies": {
    "@fastify/cookie": "^11.1.2",
    "@fastify/cors": "^11.3.0",
    "@fastify/swagger": "^9.8.1",
    "@fastify/swagger-ui": "^6.1.1",
    "argon2": "^0.45.1",
    "fastify": "^5.2.0",
    "node-pg-migrate": "^9.0.0",
    "nodemailer": "^9.0.5",
    "pg": "^8.23.0",
    "pino": "^10.3.1",
    "stripe": "^22.5.0",
    "zod": "^4.4.3"
  },
  "devDependencies": {
    "@eslint/js": "^9.17.0",
    "@types/nodemailer": "^8.0.1",
    "@types/pg": "^8.21.0",
    "eslint": "^9.17.0",
    "eslint-config-prettier": "^10.0.0",
    "prettier": "^3.4.0",
    "tsx": "^4.23.12",
    "typescript": "^5.7.0",
    "typescript-eslint": "^8.18.0",
    "vitest": "^3.0.0"
  }
}
