{
  "name": "pos-backend",
  "version": "1.0.0",
  "description": "This project was bootstrapped with Fastify-CLI.",
  "main": "app.ts",
  "directories": {
    "test": "test"
  },
  "scripts": {
    "test": "npm run build:ts && tsc -p test/tsconfig.json && c8 node --test -r tsconfig-paths/register -r ts-node/register \"test/**/*.ts\"",
    "start": "NODE_ENV=production node server.js",
    "start:local": "NODE_ENV=development npm run build:ts && fastify start -l info -a 0.0.0.0 -p 5151 dist/app.js",
    "clean": "rm -rf dist",
    "build:ts": "npm run clean && tsc && tsc-alias && cp -r src/database/seeds/data dist/database/seeds/data",
    "type-check": "tsc --noEmit",
    "watch:ts": "concurrently \"tsc -w\" \"tsc-alias -w\"",
    "dev": "NODE_ENV=development npm run build:ts && concurrently -k -p \"[{name}]\" -n \"TypeScript,App\" -c \"yellow.bold,cyan.bold\" \"npm:watch:ts\" \"npm:dev:start\"",
    "dev:start": "NODE_ENV=development fastify start --ignore-watch=.ts$ -w -l info -P -a 0.0.0.0 -p 5151 dist/app.js",
    "db:migrate": "NODE_ENV=${NODE_ENV:-development} knex migrate:latest --knexfile knexfile.ts",
    "db:migrate:prod": "NODE_ENV=production knex migrate:latest --knexfile knexfile.js",
    "db:rollback": "NODE_ENV=${NODE_ENV:-development} knex migrate:rollback --knexfile knexfile.ts",
    "db:rollback:prod": "NODE_ENV=production knex migrate:rollback --knexfile knexfile.js",
    "db:make": "knex migrate:make --knexfile knexfile.ts -x ts",
    "db:seed": "NODE_ENV=${NODE_ENV:-development} knex seed:run --knexfile knexfile.ts",
    "db:seed:prod": "NODE_ENV=production knex seed:run --knexfile knexfile.js"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@fastify/autoload": "^6.0.0",
    "@fastify/cors": "^11.2.0",
    "@fastify/env": "^7.0.0",
    "@fastify/jwt": "^10.1.0",
    "@fastify/multipart": "^10.1.0",
    "@fastify/sensible": "^6.0.0",
    "@fastify/static": "^10.1.2",
    "@fastify/swagger": "^9.7.0",
    "@scalar/fastify-api-reference": "^1.46.4",
    "bcryptjs": "^3.0.3",
    "dotenv": "^17.4.2",
    "fastify": "^5.0.0",
    "fastify-cli": "^8.0.0",
    "fastify-plugin": "^5.0.0",
    "knex": "^3.3.0",
    "mysql2": "^3.22.5",
    "sharp": "^0.35.3"
  },
  "devDependencies": {
    "@commitlint/cli": "^20.5.3",
    "@commitlint/config-conventional": "^20.5.3",
    "@types/node": "^25.0.3",
    "c8": "^11.0.0",
    "concurrently": "^9.0.0",
    "fastify-tsconfig": "^3.0.0",
    "husky": "^9.1.7",
    "lint-staged": "^16.4.0",
    "prettier": "^3.9.4",
    "ts-node": "^10.4.0",
    "tsc-alias": "^1.8.16",
    "tsconfig-paths": "^4.2.0",
    "typescript": "~5.9.2"
  },
  "lint-staged": {
    "*.{ts,js,json,md}": "prettier --write"
  }
}
