mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 01:41:24 -06:00

Adds support for MinIO and S3 for storing media files. Modified several files to implement this feature, including package.json, prisma/postgresql-schema.prisma, src/api/integrations/typebot/services/typebot.service.ts, src/api/routes/index.router.ts, src/api/services/channels/whatsapp.baileys.service.ts, and src/config/env.config.ts. Added untracked files for the new S3 integration. Also added a new S3Controller and S3Service for handling S3 related operations. This change allows for more flexible media storage options and enables the use of MinIO or S3 for storing media files.
120 lines
3.7 KiB
JSON
120 lines
3.7 KiB
JSON
{
|
|
"name": "evolution-api",
|
|
"version": "2.0.0",
|
|
"description": "Rest api for communication with WhatsApp",
|
|
"main": "./dist/src/main.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "ts-node --files --transpile-only ./src/main.ts",
|
|
"start:prod": "node dist/src/main",
|
|
"dev:server": "clear && tsnd --files --transpile-only --respawn --ignore-watch node_modules ./src/main.ts",
|
|
"test": "clear && tsnd --files --transpile-only --respawn --ignore-watch node_modules ./test/all.test.ts",
|
|
"lint": "eslint --fix --ext .ts src",
|
|
"db:migrate:postgres": "npx prisma migrate dev --name init --schema ./prisma/postgresql-schema.prisma",
|
|
"db:migrate:mysql": "npx prisma migrate dev --name init --schema ./prisma/mysql-schema.prisma",
|
|
"db:studio:postgres": "npx prisma studio --schema ./prisma/postgresql-schema.prisma",
|
|
"db:studio:mysql": "npx prisma studio --schema ./prisma/mysql-schema.prisma"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/EvolutionAPI/evolution-api.git"
|
|
},
|
|
"keywords": [
|
|
"chat",
|
|
"communication",
|
|
"message",
|
|
"send message",
|
|
"whatsapp",
|
|
"js-whatsapp",
|
|
"whatsapp-api",
|
|
"whatsapp-web",
|
|
"whatsapp",
|
|
"whatsapp-chat",
|
|
"whatsapp-group",
|
|
"automation",
|
|
"multi-device",
|
|
"bot"
|
|
],
|
|
"author": {
|
|
"name": "Davidson Gomes",
|
|
"email": "contato@agenciadgcode.com"
|
|
},
|
|
"license": "GPL-3.0",
|
|
"bugs": {
|
|
"url": "https://github.com/EvolutionAPI/evolution-api/issues"
|
|
},
|
|
"homepage": "https://github.com/EvolutionAPI/evolution-api#readme",
|
|
"dependencies": {
|
|
"@adiwajshing/keyed-db": "^0.2.4",
|
|
"@aws-sdk/client-sqs": "^3.569.0",
|
|
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
|
"@figuro/chatwoot-sdk": "^1.1.16",
|
|
"@hapi/boom": "^10.0.1",
|
|
"@prisma/client": "^5.15.0",
|
|
"@sentry/node": "^7.59.2",
|
|
"amqplib": "^0.10.3",
|
|
"axios": "^1.6.5",
|
|
"baileys": "github:EvolutionAPI/Baileys",
|
|
"class-validator": "^0.14.1",
|
|
"compression": "^1.7.4",
|
|
"cors": "^2.8.5",
|
|
"cross-env": "^7.0.3",
|
|
"dayjs": "^1.11.7",
|
|
"dotenv": "^16.4.5",
|
|
"eventemitter2": "^6.4.9",
|
|
"evolution-manager": "^0.4.13",
|
|
"exiftool-vendored": "^22.0.0",
|
|
"express": "^4.18.2",
|
|
"express-async-errors": "^3.1.1",
|
|
"fluent-ffmpeg": "^2.1.2",
|
|
"form-data": "^4.0.0",
|
|
"hbs": "^4.2.0",
|
|
"https-proxy-agent": "^7.0.2",
|
|
"i18next": "^23.7.19",
|
|
"jimp": "^0.16.13",
|
|
"join": "^3.0.0",
|
|
"js-yaml": "^4.1.0",
|
|
"jsonschema": "^1.4.1",
|
|
"link-preview-js": "^3.0.4",
|
|
"minio": "^8.0.1",
|
|
"node-cache": "^5.1.2",
|
|
"node-mime-types": "^1.1.0",
|
|
"node-windows": "^1.0.0-beta.8",
|
|
"parse-bmfont-xml": "^1.1.4",
|
|
"pg": "^8.11.3",
|
|
"pino": "^8.11.0",
|
|
"prisma": "^5.15.0",
|
|
"qrcode": "^1.5.1",
|
|
"qrcode-terminal": "^0.12.0",
|
|
"redis": "^4.6.5",
|
|
"sharp": "^0.32.2",
|
|
"socket.io": "^4.7.1",
|
|
"socks-proxy-agent": "^8.0.1",
|
|
"uuid": "^9.0.0",
|
|
"xml2js": "^0.6.2",
|
|
"yamljs": "^0.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/compression": "^1.7.2",
|
|
"@types/cors": "^2.8.13",
|
|
"@types/express": "^4.17.17",
|
|
"@types/js-yaml": "^4.0.5",
|
|
"@types/mime-types": "^2.1.1",
|
|
"@types/node": "^18.15.11",
|
|
"@types/node-windows": "^0.1.2",
|
|
"@types/qrcode": "^1.5.0",
|
|
"@types/qrcode-terminal": "^0.12.0",
|
|
"@types/uuid": "^8.3.4",
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
"@typescript-eslint/parser": "^5.62.0",
|
|
"eslint": "^8.45.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
"prettier": "^2.8.8",
|
|
"ts-node-dev": "^2.0.0",
|
|
"typescript": "^4.9.5"
|
|
}
|
|
}
|