{
  "name": "misayan-saas",
  "version": "1.0.0",
  "description": "Misayan SaaS – Multi-Tenant WhatsApp:  Chatbots, WooCommerce Integration & API Access",
  "main": "server.js",
  "scripts": {
    "start": "node --no-warnings server.js",
    "dev": "nodemon --no-warnings server.js",
    "pm2:start": "pm2 start ecosystem.config.js",
    "pm2:stop": "pm2 stop misayan-saas",
    "pm2:restart": "pm2 restart misayan-saas",
    "test": "jest tests/simple.test.js --verbose",
    "test:all": "jest --coverage --verbose",
    "test:unit": "jest tests/unit --coverage",
    "test:api": "jest --config tests/jest.api.config.js --coverage --verbose",
    "test:ui": "jest --config tests/jest.ui.config.js --coverage --verbose",
    "test:integration": "jest tests/integration --coverage",
    "test:health": "jest tests/integration/system-health.test.js --verbose",
    "test:whatsapp": "node tests/run-whatsapp-tests.js",
    "test:whatsapp:unit": "jest tests/unit/services/WhatsAppService.test.js tests/unit/controllers/WhatsAppController.test.js tests/unit/models/WhatsAppConnection.test.js --verbose",
    "test:whatsapp:integration": "jest tests/integration/whatsapp-flow.test.js --verbose",
    "test:watch": "jest --watch",
    "test:ci": "jest --ci --coverage --maxWorkers=2",
    "lint": "npx eslint .",
    "lint:fix": "npx eslint . --fix",
    "build": "npm run lint && npm run test:ci",
    "validate": "npm run lint && npm run test:ci",
    "fix:superadmin-tenant": "node scripts/fix-superadmin-tenant-id.js",
    "verify:superadmin-tenant": "node scripts/verify-superadmin-tenant.js"
  },
  "keywords": [
    "whatsapp",
    "saas",
    "multi-tenant",
    "business",
    "nodejs"
  ],
  "author": "Misayan Team",
  "license": "Commercial",
  "dependencies": {
    "@paypal/checkout-server-sdk": "^1.0.3",
    "@whiskeysockets/baileys": "npm:baileys@7.0.0-rc.6",
    "adm-zip": "^0.5.16",
    "axios": "^1.13.2",
    "bcryptjs": "^2.4.3",
    "compression": "^1.7.4",
    "cors": "^2.8.5",
    "csv-parser": "^3.0.0",
    "csv-writer": "^1.6.0",
    "dotenv": "^16.4.5",
    "express": "^4.21.1",
    "express-rate-limit": "^7.1.5",
    "express-validator": "^7.3.0",
    "helmet": "^7.1.0",
    "i18next": "^23.7.6",
    "i18next-fs-backend": "^2.3.1",
    "i18next-http-middleware": "^3.5.0",
    "jsonwebtoken": "^9.0.2",
    "mime-types": "^2.1.35",
    "moment": "^2.30.1",
    "multer": "^2.0.2",
    "mysql2": "^3.14.3",
    "node-cache": "^5.1.2",
    "node-cleanup": "^2.1.2",
    "node-fetch": "^3.3.2",
    "node-schedule": "^2.1.1",
    "nodemailer": "^7.0.11",
    "pino": "^10.1.0",
    "pino-pretty": "^11.0.0",
    "qrcode": "^1.5.4",
    "qrcode-terminal": "^0.12.0",
    "socket.io": "^4.8.1",
    "stripe": "^14.25.0",
    "swagger-jsdoc": "^6.2.8",
    "swagger-ui-express": "^5.0.0",
    "validator": "^13.11.0",
    "web-push": "^3.6.7",
    "winston": "^3.11.0",
    "winston-daily-rotate-file": "^4.7.1"
  },
  "devDependencies": {
    "@babel/core": "^7.23.0",
    "@babel/preset-env": "^7.23.0",
    "eslint": "^8.50.0",
    "eslint-config-prettier": "^9.0.0",
    "eslint-plugin-node": "^11.1.0",
    "globals": "^17.1.0",
    "jest": "^29.7.0",
    "nodemon": "^3.0.1",
    "prettier": "^3.0.3",
    "supertest": "^6.3.3"
  },
  "engines": {
    "node": ">=18.0.0",
    "npm": ">=9.0.0"
  }
}
