2024-09-10 09:50:11 +00:00
{
"name" : "hexabot" ,
2024-11-28 10:12:56 +00:00
"version" : "2.0.16" ,
2024-09-10 09:50:11 +00:00
"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" ,
2024-10-26 08:02:34 +00:00
"files" : [
2024-10-27 11:23:32 +00:00
"src" ,
"types" ,
"!src/**/*.spec.ts" ,
"!src/.hexabot"
2024-10-26 08:02:34 +00:00
] ,
2024-09-10 09:50:11 +00:00
"scripts" : {
"postinstall" : "patch-package" ,
2024-10-27 11:23:32 +00:00
"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" ,
2024-10-26 09:36:47 +00:00
"copy-types" : "cp -R types dist/types" ,
2024-10-22 10:01:44 +00:00
"format" : "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"libs/**/*.ts\"" ,
2024-09-10 09:50:11 +00:00
"start" : "nest start" ,
"doc" : "npx @compodoc/compodoc --hideGenerator -p tsconfig.doc.json -s -r 9003 -w" ,
2024-10-27 11:23:32 +00:00
"start:dev" : "npm run cache:prepare && nest start --watch" ,
"start:debug" : "npm run cache:prepare && nest start --debug 0.0.0.0:9229 --watch" ,
2024-09-10 09:50:11 +00:00
"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" ,
2024-10-11 15:56:57 +00:00
"test:clear" : "jest --clearCache" ,
2024-09-10 09:50:11 +00:00
"typecheck" : "tsc --noEmit" ,
"reset" : "npm install && npm run containers:restart" ,
"reset:hard" : "npm clean-install && npm run containers:rebuild" ,
2024-10-27 11:23:32 +00:00
"migrate" : "npx ts-migrate-mongoose --config-path ./migrations/config/migrate.ts" ,
"docker:build-base" : "docker build --pull --rm -f Dockerfile.base -t hexabot-base:latest ." ,
"docker:tag-base" : "docker tag hexabot-base:latest hexastack/hexabot-base:latest" ,
"docker:push-base" : "docker push hexastack/hexabot-base:latest" ,
2024-10-28 06:42:14 +00:00
"docker:release-base" : "npm run docker:build-base && npm run docker:tag-base && npm run docker:push-base" ,
2024-10-28 17:17:11 +00:00
"npm:release" : "npm version patch && npm publish" ,
2024-10-28 06:42:14 +00:00
"release" : "npm run build && npm run npm:release && npm run docker:release-base"
2024-09-10 09:50:11 +00:00
} ,
"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" ,
2024-10-03 14:30:14 +00:00
"@nestjs/swagger" : "^7.2.0" ,
2024-09-10 09:50:11 +00:00
"@nestjs/websockets" : "^10.3.7" ,
"@resvg/resvg-js" : "^2.6.2" ,
2024-11-15 16:39:12 +00:00
"@socket.io/redis-adapter" : "^8.3.0" ,
2024-09-10 09:50:11 +00:00
"@tekuconcept/nestjs-csrf" : "^1.1.0" ,
"bcryptjs" : "^2.4.3" ,
"cache-manager" : "^5.3.2" ,
2024-11-15 16:39:12 +00:00
"cache-manager-redis-yet" : "^4.1.2" ,
2024-09-10 09:50:11 +00:00
"connect-mongo" : "^5.1.0" ,
"cookie-parser" : "^1.4.6" ,
"dotenv" : "^16.3.1" ,
"ejs" : "^3.1.9" ,
"express-session" : "^1.17.3" ,
"joi" : "^17.11.0" ,
"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" ,
"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" ,
2024-10-18 17:02:23 +00:00
"sanitize-filename" : "^1.6.3" ,
2024-09-10 09:50:11 +00:00
"slug" : "^8.2.2" ,
2024-10-07 20:41:15 +00:00
"ts-migrate-mongoose" : "^3.8.4" ,
2024-10-03 14:30:14 +00:00
"uuid" : "^9.0.1"
2024-09-10 09:50:11 +00:00
} ,
"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" ,
2024-09-24 05:36:41 +00:00
"@types/lodash" : "^4.17.9" ,
2024-09-10 09:50:11 +00:00
"@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" ,
"eslint" : "^8.42.0" ,
"eslint-config-prettier" : "^9.0.0" ,
"eslint-import-resolver-typescript" : "~3.6.1" ,
2024-10-19 12:42:31 +00:00
"eslint-plugin-license-header" : "^0.6.1" ,
2024-09-10 09:50:11 +00:00
"eslint-plugin-prettier" : "^5.0.0" ,
"husky" : "^8.0.0" ,
"jest" : "^29.5.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" ,
2024-09-29 06:56:25 +00:00
"typescript" : "^5.1.3"
} ,
2024-09-30 11:20:10 +00:00
"optionalDependencies" : {
"@css-inline/css-inline-linux-arm64-musl" : "^0.14.1" ,
"@resvg/resvg-js-linux-arm64-musl" : "^2.6.2"
} ,
2024-09-29 06:56:25 +00:00
"overrides" : {
"mjml" : "5.0.0-alpha.4"
2024-09-10 09:50:11 +00:00
} ,
"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"
}
}
2024-11-22 17:52:55 +00:00
}