{
  "name": "pbps-mis-v2-api",
  "private": true,
  "version": "0.1.0",
  "type": "module",
  "engines": {
    "node": ">=22.9"
  },
  "scripts": {
    "dev": "tsx watch src/main.ts",
    "dev:worker": "tsx watch src/worker.ts",
    "start": "node dist/main.js",
    "start:worker": "node dist/worker.js",
    "build": "tsc -p tsconfig.build.json",
    "typecheck": "tsc --noEmit",
    "test": "vitest run",
    "correct:low-attendance": "tsx --env-file-if-exists=.env.migration tools/correct-low-attendance.ts",
    "convert:production": "tsx --env-file-if-exists=.env.migration tools/convert-production.ts",
    "demo:users": "tsx tools/demo-users.ts",
    "export:server": "tsx tools/export-server.ts",
    "backup:restore": "tsx tools/restore-backup.ts",
    "test:load": "tsx test/load.ts",
    "parity:permissions": "tsx parity/check-permissions.ts",
    "test:e2e": "tsx test/e2e.ts",
    "test:api": "tsx test/api.ts",
    "parity": "tsx parity/check.ts",
    "migrate:verify": "tsx --env-file-if-exists=.env.migration migration/run-migration.ts --verify-only --label verify",
    "migrate:rehearse": "tsx --env-file-if-exists=.env.migration migration/run-migration.ts --fresh --label rehearsal"
  },
  "dependencies": {
    "@fastify/cookie": "^11.1.5",
    "@fastify/multipart": "^10.1.9",
    "@fastify/rate-limit": "^11.3.0",
    "bcryptjs": "^2.4.3",
    "docx": "^9.16.2",
    "dotenv": "^16.4.7",
    "exceljs": "^4.4.0",
    "fastify": "^5.2.0",
    "mysql2": "^3.12.0",
    "nodemailer": "^6.10.1",
    "pdfkit": "^0.21.0",
    "zod": "^3.24.1"
  },
  "devDependencies": {
    "@types/bcryptjs": "^2.4.6",
    "@types/node": "^22.10.0",
    "@types/nodemailer": "^6.4.24",
    "@types/pdfkit": "^0.17.7",
    "tsx": "^4.19.2",
    "typescript": "^5.7.2",
    "vitest": "^3.0.0"
  }
}
