{ "name": "@widget-tdc/backend", "version": "1.0.0", "private": true, "type": "module", "scripts": { "dev": "tsx watch src/index.ts", "build": "esbuild src/index.ts --bundle --platform=node --target=node20 --outfile=dist/index.js --external:@prisma/client --external:better-sqlite3 --external:pg-native --external:@xenova/transformers --external:onnxruntime-node --external:sharp --external:canvas --format=esm", "build-fixed": "esbuild src/index.ts --bundle --platform=node --target=node20 --outfile=dist/index.cjs --external:@prisma/client --external:better-sqlite3 --external:pg-native --external:@xenova/transformers --external:onnxruntime-node --external:sharp --external:canvas --format=cjs", "build:tsc": "tsc", "start": "node dist/index.js", "test": "vitest run", "lint": "eslint .", "neural-bridge": "tsx src/mcp/servers/NeuralBridgeServer.ts", "neural-bridge:build": "tsc && node dist/mcp/servers/NeuralBridgeServer.js", "ingest-drive": "tsx src/scripts/ingest-drive.ts", "sync-neo4j": "tsx src/scripts/sync-neo4j-to-cloud.ts", "sync:start": "tsx src/scripts/neo4j-auto-sync.ts start", "sync:now": "tsx src/scripts/neo4j-auto-sync.ts sync", "sync:full": "tsx src/scripts/neo4j-auto-sync.ts full", "sync:status": "tsx src/scripts/neo4j-auto-sync.ts status", "sync:fast": "tsx src/scripts/fast-neo4j-sync.ts", "sync:fast-incremental": "tsx src/scripts/fast-neo4j-sync.ts --incremental" }, "dependencies": { "@anthropic-ai/sdk": "^0.71.0", "@google/generative-ai": "^0.4.0", "@huggingface/inference": "^4.13.3", "@modelcontextprotocol/sdk": "^1.23.0", "@opensearch-project/opensearch": "^3.5.1", "@prisma/client": "^5.22.0", "@types/geoip-lite": "^1.4.4", "@types/js-yaml": "^4.0.9", "@types/pdf-parse": "^1.1.5", "@types/systeminformation": "^3.23.1", "@widget-tdc/domain-types": "*", "@widget-tdc/mcp-types": "*", "@xenova/transformers": "^2.17.2", "axios": "^1.6.5", "cheerio": "^1.0.0", "chokidar": "^3.6.0", "chromadb": "^3.1.6", "cors": "^2.8.5", "dotenv": "^17.2.3", "express": "^4.18.2", "express-rate-limit": "^8.2.1", "geoip-lite": "^1.4.10", "gpt-3-encoder": "^1.1.4", "helmet": "^8.1.0", "imap": "^0.8.19", "ioredis": "^5.3.2", "js-yaml": "^4.1.1", "jsonwebtoken": "^9.0.2", "jszip": "^3.10.1", "mailparser": "^3.6.9", "minio": "^8.0.6", "multer": "^1.4.5-lts.1", "neo4j-driver": "^6.0.1", "node-cron": "^3.0.3", "openai": "^4.73.0", "pdf-parse": "^2.4.5", "pdfjs-dist": "^5.4.449", "pg": "^8.16.3", "pptxgenjs": "^3.12.0", "prisma": "^5.22.0", "puppeteer": "^24.32.0", "redis": "^5.10.0", "sharp": "^0.32.6", "socket.io": "^4.8.1", "sql.js": "^1.8.0", "systeminformation": "^5.27.11", "testcontainers": "^11.8.1", "uuid": "^9.0.1", "winston": "^3.18.3", "ws": "^8.14.2", "xml2js": "^0.6.2", "zod": "^3.25.76" }, "devDependencies": { "@types/cors": "^2.8.17", "@types/express": "^4.17.21", "@types/imap": "^0.8.40", "@types/ioredis": "^4.28.10", "@types/jsonwebtoken": "^9.0.10", "@types/jszip": "^3.4.0", "@types/mailparser": "^3.4.4", "@types/multer": "^1.4.12", "@types/node": "^20.10.6", "@types/node-cron": "^3.0.11", "@types/pg": "^8.16.0", "@types/uuid": "^9.0.7", "@types/ws": "^8.5.10", "@types/xml2js": "^0.4.14", "@typescript-eslint/eslint-plugin": "^8.46.4", "@typescript-eslint/parser": "^8.46.4", "esbuild": "^0.24.2", "eslint": "^9.39.1", "tsx": "^4.20.6", "typescript": "~5.8.3", "vitest": "^4.0.8" } }