{
  "name": "hexabot",
  "version": "2.2.5",
  "description": "Hexabot is a solution for creating and managing chatbots across multiple channels, leveraging AI for advanced conversational capabilities. It provides a user-friendly interface for building, training, and deploying chatbots with integrated support for various messaging platforms.",
  "author": "Hexastack",
  "license": "AGPL-3.0-only",
  "files": [
    "src",
    "types",
    "!src/**/*.spec.ts",
    "!src/.hexabot"
  ],
  "scripts": {
    "postinstall": "patch-package",
    "cache:channels": "mkdir -p src/.hexabot/contrib/extensions/channels && find node_modules/ -name 'hexabot-channel-*' -exec cp -R {} src/.hexabot/contrib/extensions/channels/ \\;",
    "cache:helpers": "mkdir -p src/.hexabot/contrib/extensions/helpers && find node_modules/ -name 'hexabot-helper-*' -exec cp -R {} src/.hexabot/contrib/extensions/helpers/ \\;",
    "cache:plugins": "mkdir -p src/.hexabot/contrib/extensions/plugins && find node_modules/ -name 'hexabot-plugin-*' -exec cp -R {} src/.hexabot/contrib/extensions/plugins/ \\;",
    "cache:contrib": "rm -rf src/.hexabot/contrib && npm run cache:channels && npm run cache:helpers && npm run cache:plugins",
    "cache:custom": "mkdir -p src/.hexabot/custom/extensions",
    "cache:prepare": "npm run cache:contrib && npm run cache:custom",
    "build": "npm run cache:prepare && nest build && npm run copy-types",
    "copy-types": "cp -R types dist/types",
    "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"libs/**/*.ts\"",
    "start": "nest start",
    "doc": "npx @compodoc/compodoc --hideGenerator -p tsconfig.doc.json -s -r 9003 -w",
    "start:dev": "npm run cache:prepare && nest start --watch",
    "start:debug": "npm run cache:prepare && nest start --debug 0.0.0.0:9229 --watch",
    "start:prod": "node dist/main",
    "lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
    "lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
    "test": "jest --runInBand --logHeapUsage --detectOpenHandles --forceExit",
    "test:half": "jest --logHeapUsage --maxWorkers=50% --testTimeout=10000",
    "test:full": "jest --logHeapUsage --maxWorkers=100% --testTimeout=10000",
    "test:watch": "jest --watch --detectOpenHandles",
    "test:cov": "jest --coverage --runInBand --detectOpenHandles --forceExit",
    "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
    "test:e2e": "jest --config ./test/jest-e2e.json",
    "test:clear": "jest --clearCache",
    "typecheck": "tsc --noEmit",
    "reset": "npm install && npm run containers:restart",
    "reset:hard": "npm clean-install && npm run containers:rebuild",
    "cli": "HEXABOT_CLI=1 ts-node --files --log-error --compiler-options '{\"diagnostics\": true}' src/cli.ts"
  },
  "lint-staged": {
    "*.{js,ts}": "eslint --fix -c \".eslintrc-staged.js\""
  },
  "dependencies": {
    "@nestjs-modules/mailer": "^1.11.2",
    "@nestjs/axios": "^3.0.3",
    "@nestjs/cache-manager": "^2.2.0",
    "@nestjs/common": "^10.0.0",
    "@nestjs/core": "^10.0.0",
    "@nestjs/event-emitter": "^2.0.3",
    "@nestjs/jwt": "^10.2.0",
    "@nestjs/mapped-types": "^2.0.4",
    "@nestjs/mongoose": "^10.0.2",
    "@nestjs/passport": "^10.0.2",
    "@nestjs/platform-express": "^10.0.0",
    "@nestjs/platform-socket.io": "^10.3.7",
    "@nestjs/swagger": "^7.2.0",
    "@nestjs/websockets": "^10.3.7",
    "@resvg/resvg-js": "^2.6.2",
    "@socket.io/redis-adapter": "^8.3.0",
    "@tekuconcept/nestjs-csrf": "^1.1.0",
    "bcryptjs": "^2.4.3",
    "cache-manager": "^5.3.2",
    "cache-manager-redis-yet": "^4.1.2",
    "connect-mongo": "^5.1.0",
    "cookie-parser": "^1.4.6",
    "express-session": "^1.17.3",
    "handlebars": "^4.7.8",
    "module-alias": "^2.2.3",
    "mongoose": "^8.0.0",
    "mongoose-lean-defaults": "^2.2.1",
    "mongoose-lean-getters": "^1.1.0",
    "mongoose-lean-virtuals": "^0.9.1",
    "multer": "^1.4.5-lts.1",
    "nest-commander": "^3.15.0",
    "nestjs-dynamic-providers": "^0.3.4",
    "nestjs-i18n": "^10.4.0",
    "nodemailer": "^6.9.13",
    "papaparse": "^5.4.1",
    "passport": "^0.6.0",
    "passport-anonymous": "^1.0.1",
    "passport-jwt": "^4.0.1",
    "passport-local": "^1.0.0",
    "patch-package": "^8.0.0",
    "reflect-metadata": "^0.1.13",
    "rxjs": "^7.8.1",
    "sanitize-filename": "^1.6.3",
    "slug": "^8.2.2",
    "ts-migrate-mongoose": "^3.8.4",
    "uuid": "^9.0.1",
    "zod": "^3.24.1"
  },
  "devDependencies": {
    "@compodoc/compodoc": "^1.1.24",
    "@nestjs/cli": "^10.0.0",
    "@nestjs/schematics": "^10.0.0",
    "@nestjs/testing": "^10.0.0",
    "@types/bcryptjs": "^2.4.6",
    "@types/cookie-parser": "^1.4.6",
    "@types/cookie-signature": "^1.1.2",
    "@types/express": "^4.17.17",
    "@types/express-session": "^1.17.10",
    "@types/jest": "^29.5.2",
    "@types/lodash": "^4.17.9",
    "@types/module-alias": "^2.0.4",
    "@types/multer": "^1.4.11",
    "@types/node": "^20.3.1",
    "@types/node-fetch": "^2.6.11",
    "@types/nodemailer": "^6.4.14",
    "@types/papaparse": "^5.3.14",
    "@types/passport-anonymous": "^1.0.5",
    "@types/passport-jwt": "^3.0.13",
    "@types/passport-local": "^1.0.38",
    "@types/slug": "^5.0.3",
    "@types/supertest": "^2.0.12",
    "@types/uid-safe": "^2.1.5",
    "@types/uuid": "^9.0.7",
    "@typescript-eslint/eslint-plugin": "^6.0.0",
    "@typescript-eslint/parser": "^6.0.0",
    "dotenv": "^16.3.1",
    "eslint": "^8.42.0",
    "eslint-config-prettier": "^9.0.0",
    "eslint-import-resolver-typescript": "~3.6.1",
    "eslint-plugin-header": "^3.1.1",
    "eslint-plugin-prettier": "^5.0.0",
    "husky": "^8.0.0",
    "jest": "^29.5.0",
    "lint-staged": "^15.3.0",
    "mongodb-memory-server": "^9.1.6",
    "nock": "^13.5.1",
    "prettier": "^3.0.0",
    "socket.io-client": "^4.7.5",
    "source-map-support": "^0.5.21",
    "supertest": "^6.3.3",
    "ts-jest": "^29.1.0",
    "ts-loader": "^9.4.3",
    "ts-node": "^10.9.1",
    "tsconfig-paths": "^4.2.0",
    "tsconfig-paths-jest": "^0.0.1",
    "typescript": "^5.1.3"
  },
  "optionalDependencies": {
    "@css-inline/css-inline-linux-arm64-musl": "^0.14.1",
    "@resvg/resvg-js-darwin-arm64": "^2.6.2",
    "@resvg/resvg-js-linux-arm64-musl": "^2.6.2"
  },
  "overrides": {
    "mjml": "5.0.0-alpha.4"
  },
  "jest": {
    "globalSetup": "<rootDir>/../test/global-setup.ts",
    "globalTeardown": "<rootDir>/../test/global-teardown.ts",
    "setupFiles": [
      "<rootDir>/../test/setup-tests.ts"
    ],
    "setupFilesAfterEnv": [
      "<rootDir>/../test/jest.setup.ts"
    ],
    "moduleFileExtensions": [
      "js",
      "json",
      "ts"
    ],
    "rootDir": "src",
    "testRegex": ".*\\.spec\\.ts$",
    "transform": {
      "^.+\\.(t|j)s$": "ts-jest"
    },
    "collectCoverageFrom": [
      "**/*.(t|j)s"
    ],
    "coverageDirectory": "../coverage",
    "testEnvironment": "node",
    "moduleNameMapper": {
      "@/(.*)": "<rootDir>/$1"
    }
  }
}
