{
  "name": "instacontrol-backend",
  "version": "2.0.0",
  "description": "Enterprise Instagram Automation & SaaS Control Platform Backend",
  "main": "dist/index.js",
  "scripts": {
    "dev": "tsx watch src/index.ts",
    "build": "esbuild src/index.ts --bundle --platform=node --target=node18 --outfile=dist/index.js --external:sharp --external:ffmpeg-static",
    "build:frontend": "cd frontend && npm install && npm run build",
    "build:all": "npm run build:frontend && npm run build",
    "start": "node dist/index.js",
    "start:prod": "pm2 start ecosystem.config.js",
    "test": "vitest run",
    "test:watch": "vitest",
    "lint": "oxlint src",
    "typecheck": "tsc --noEmit",
    "check": "npm run typecheck && npm run lint && npm run test",
    "postinstall": "prisma generate",
    "db:setup": "prisma generate && prisma db push --accept-data-loss",
    "db:seed": "tsx src/seed.ts",
    "prisma:generate": "prisma generate",
    "prisma:studio": "prisma studio"
  },
  "dependencies": {
    "@prisma/client": "^5.10.2",
    "adm-zip": "^0.6.0",
    "axios": "^1.6.7",
    "bcryptjs": "^2.4.3",
    "bullmq": "^5.1.5",
    "cors": "^2.8.5",
    "dotenv": "^16.4.5",
    "express": "^4.18.2",
    "fluent-ffmpeg": "^2.1.3",
    "helmet": "^7.1.0",
    "instagram-private-api": "^1.45.3",
    "ioredis": "^5.3.2",
    "jsonwebtoken": "^9.0.2",
    "multer": "^2.2.0",
    "otplib": "^12.0.1",
    "pino": "^10.3.1",
    "pino-http": "^11.0.0",
    "pino-pretty": "^13.1.3",
    "prisma": "^5.10.2",
    "ws": "^8.16.0"
  },
  "optionalDependencies": {
    "ffmpeg-static": "^5.3.0",
    "sharp": "^0.35.3"
  },
  "overrides": {
    "qs": ">=6.14.1",
    "tough-cookie": ">=4.1.3",
    "form-data": ">=4.0.0"
  },
  "devDependencies": {
    "@types/bcryptjs": "^2.4.6",
    "@types/cors": "^2.8.17",
    "@types/express": "^4.17.21",
    "@types/fluent-ffmpeg": "^2.1.28",
    "@types/jsonwebtoken": "^9.0.5",
    "@types/multer": "^2.2.0",
    "@types/node": "^20.11.20",
    "@types/ws": "^8.5.10",
    "esbuild": "^0.28.1",
    "oxlint": "^1.77.0",
    "tsx": "^4.7.1",
    "typescript": "^5.3.3",
    "vitest": "^4.1.10"
  }
}
