UNPKG

@aj-archipelago/cortex

Version:

Cortex is a GraphQL API for AI. It provides a simple, extensible interface for using AI services from OpenAI, Azure and others.

55 lines (54 loc) 1.7 kB
{ "name": "@aj-archipelago/cortex-file-handler", "version": "2.0.02", "description": "File handling service for Cortex - handles file uploads, media chunking, and document processing", "type": "module", "main": "src/index.js", "scripts": { "start": "node src/start.js", "dev": "node -r dotenv/config src/start.js", "test": "DOTENV_CONFIG_PATH=.env.test NODE_ENV=test node -r dotenv/config node_modules/ava/entrypoints/cli.mjs", "test:azure": "DOTENV_CONFIG_PATH=.env.test.azure NODE_ENV=test ./scripts/test-azure.sh", "test:watch": "DOTENV_CONFIG_PATH=.env.test NODE_ENV=test node -r dotenv/config node_modules/ava/entrypoints/cli.mjs --watch", "test:gcs": "DOTENV_CONFIG_PATH=.env.test.gcs NODE_ENV=test ./scripts/test-gcs.sh" }, "dependencies": { "@azure/storage-blob": "^12.13.0", "@distube/ytdl-core": "^4.14.3", "@google-cloud/storage": "^7.10.0", "axios": "^1.7.4", "busboy": "^1.6.0", "cors": "^2.8.5", "express": "^4.21.1", "fluent-ffmpeg": "^2.1.3", "ioredis": "^5.3.1", "mime-types": "^3.0.1", "papaparse": "^5.4.1", "pdfjs-dist": "^4.2.67", "public-ip": "^6.0.1", "uuid": "^9.0.0", "xlsx": "^0.18.5" }, "devDependencies": { "@eslint/js": "^9.26.0", "ava": "^5.3.1", "dotenv": "^16.3.1", "eslint-plugin-import": "^2.31.0", "globals": "^16.1.0", "nock": "^13.3.0", "typescript-eslint": "^8.32.1" }, "ava": { "files": [ "tests/**/*.test.js", "!tests/test-files/**/*", "!tests/test-docs/**/*", "!tests/mocks/**/*" ], "timeout": "1m", "nodeArguments": [ "--experimental-modules" ], "serial": true } }