{ "name": "omics-backend", "version": "1.0.0", "description": "OmniCS - 企业级电商智能客服系统后端", "main": "dist/index.js", "scripts": { "dev": "tsx watch src/index.ts", "build": "tsc", "start": "node dist/index.js", "db:migrate": "typeorm migration:run -d src/database/data-source.ts", "db:generate": "typeorm migration:generate -d src/database/data-source.ts", "db:seed": "tsx src/database/seeds/index.ts", "test": "jest", "lint": "eslint src --ext .ts" }, "dependencies": { "express": "^4.18.2", "cors": "^2.8.5", "helmet": "^7.1.0", "compression": "^1.7.4", "express-rate-limit": "^7.1.5", "express-validator": "^7.0.1", "jsonwebtoken": "^9.0.2", "bcryptjs": "^2.4.3", "passport": "^0.7.0", "passport-jwt": "^4.0.1", "passport-local": "^1.0.0", "typeorm": "^0.3.19", "pg": "^8.11.3", "redis": "^4.6.12", "bullmq": "^5.0.0", "socket.io": "^4.7.4", "uuid": "^9.0.1", "dotenv": "^16.3.1", "winston": "^3.11.0", "winston-daily-rotate-file": "^4.7.1", "class-transformer": "^0.5.1", "class-validator": "^0.14.1", "openai": "^4.24.0", "axios": "^1.6.5", "cheerio": "^1.0.0-rc.12", "pinyin-pro": "^3.18.2", "levenshtein": "^1.0.5", "nodejieba": "^2.6.0", "decimal.js": "^10.4.3", "moment": "^2.30.1", "lodash": "^4.17.21" }, "devDependencies": { "@types/express": "^4.17.21", "@types/cors": "^2.8.17", "@types/compression": "^1.7.5", "@types/jsonwebtoken": "^9.0.5", "@types/bcryptjs": "^2.4.6", "@types/passport-jwt": "^4.0.1", "@types/passport-local": "^1.0.38", "@types/uuid": "^9.0.7", "@types/lodash": "^4.14.202", "@types/node": "^20.11.5", "@types/jest": "^29.5.11", "typescript": "^5.3.3", "tsx": "^4.7.0", "jest": "^29.7.0", "ts-jest": "^29.1.1", "eslint": "^8.56.0", "@typescript-eslint/eslint-plugin": "^6.19.0", "@typescript-eslint/parser": "^6.19.0", "source-map-support": "^0.5.21" }, "engines": { "node": ">=20.0.0" } }