2024-01-17 09:22:28 +08:00
|
|
|
{
|
2024-07-07 13:09:08 +08:00
|
|
|
"name": "99ai",
|
|
|
|
"version": "3.5.0",
|
2024-01-17 09:22:28 +08:00
|
|
|
"description": "",
|
2024-07-07 13:09:08 +08:00
|
|
|
"author": "vastxie",
|
2024-01-17 09:22:28 +08:00
|
|
|
"private": true,
|
2024-07-07 13:09:08 +08:00
|
|
|
"license": "Apache-2.0",
|
2024-01-17 09:22:28 +08:00
|
|
|
"bin": "./dist/main.js",
|
|
|
|
"scripts": {
|
|
|
|
"start": "pm2 start pm2.conf.json",
|
|
|
|
"build": "nest build",
|
|
|
|
"build:test": "nest build",
|
|
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
|
|
"encrypt": "node ./encrypt.js",
|
|
|
|
"start:daemon": "pm2 start pm2.conf.json --no-daemon",
|
|
|
|
"dev": "nest start --watch",
|
|
|
|
"start:debug": "nest start --debug --watch",
|
|
|
|
"start:prod": "node dist/main",
|
|
|
|
"test": "jest",
|
|
|
|
"test:watch": "jest --watch",
|
|
|
|
"test:cov": "jest --coverage",
|
|
|
|
"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",
|
|
|
|
"pkg:win": "pkg . -t node16-win-x64 -o app-win --debug",
|
|
|
|
"pkg:mac": "pkg . -t node16-mac-x64 -o app-mac --debug",
|
|
|
|
"pkg:linux": "pkg . -t node16-linux-x64 -o app-linux --debug"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@alicloud/pop-core": "^1.7.13",
|
2024-07-07 13:09:08 +08:00
|
|
|
"@dqbd/tiktoken": "^1.0.15",
|
|
|
|
"@keyv/redis": "^2.8.5",
|
2024-01-17 09:22:28 +08:00
|
|
|
"@nestjs/bull": "^0.6.3",
|
2024-07-07 13:09:08 +08:00
|
|
|
"@nestjs/common": "^9.4.3",
|
|
|
|
"@nestjs/config": "^3.2.2",
|
|
|
|
"@nestjs/core": "^9.4.3",
|
|
|
|
"@nestjs/jwt": "^10.2.0",
|
2024-01-17 09:22:28 +08:00
|
|
|
"@nestjs/passport": "^9.0.3",
|
2024-07-07 13:09:08 +08:00
|
|
|
"@nestjs/platform-express": "^9.4.3",
|
|
|
|
"@nestjs/platform-socket.io": "^10.3.9",
|
|
|
|
"@nestjs/schedule": "^2.2.3",
|
|
|
|
"@nestjs/serve-static": "^4.0.2",
|
|
|
|
"@nestjs/swagger": "^6.3.0",
|
2024-01-17 09:22:28 +08:00
|
|
|
"@nestjs/typeorm": "^9.0.1",
|
2024-07-07 13:09:08 +08:00
|
|
|
"@nestjs/websockets": "^10.3.9",
|
|
|
|
"@types/cache-manager-redis-store": "^2.0.4",
|
2024-01-17 09:22:28 +08:00
|
|
|
"abort-controller": "^3.0.0",
|
2024-07-07 13:09:08 +08:00
|
|
|
"ali-oss": "^6.20.0",
|
2024-04-20 22:15:08 +08:00
|
|
|
"app-root-path": "^3.1.0",
|
2024-07-07 13:09:08 +08:00
|
|
|
"axios": "^1.7.2",
|
2024-01-17 09:22:28 +08:00
|
|
|
"bcryptjs": "^2.4.3",
|
|
|
|
"body-parser": "^1.20.2",
|
2024-07-07 13:09:08 +08:00
|
|
|
"bull": "^4.14.0",
|
2024-01-17 09:22:28 +08:00
|
|
|
"cache-manager-redis-store": "^3.0.1",
|
|
|
|
"class-transformer": "^0.5.1",
|
2024-07-07 13:09:08 +08:00
|
|
|
"class-validator": "^0.14.1",
|
2024-01-17 09:22:28 +08:00
|
|
|
"compression": "^1.7.4",
|
2024-07-07 13:09:08 +08:00
|
|
|
"cos-nodejs-sdk-v5": "^2.14.2",
|
|
|
|
"dayjs": "^1.11.11",
|
2024-01-17 09:22:28 +08:00
|
|
|
"decimal.js": "^10.4.3",
|
2024-07-07 13:09:08 +08:00
|
|
|
"dotenv": "^16.4.5",
|
2024-01-17 09:22:28 +08:00
|
|
|
"eventsource": "^2.0.2",
|
2024-07-07 13:09:08 +08:00
|
|
|
"exceljs": "^4.4.0",
|
|
|
|
"express": "^4.19.2",
|
2024-01-17 09:22:28 +08:00
|
|
|
"express-xml-bodyparser": "^0.3.0",
|
|
|
|
"form-data": "^4.0.0",
|
|
|
|
"guid-typescript": "^1.0.9",
|
2024-04-20 22:15:08 +08:00
|
|
|
"handlebars": "^4.7.8",
|
2024-01-17 09:22:28 +08:00
|
|
|
"hbs": "^4.2.0",
|
2024-02-04 21:06:59 +08:00
|
|
|
"image-size": "^1.1.1",
|
2024-07-07 13:09:08 +08:00
|
|
|
"ioredis": "^5.4.1",
|
2024-01-17 09:22:28 +08:00
|
|
|
"isomorphic-fetch": "^3.0.0",
|
2024-07-07 13:09:08 +08:00
|
|
|
"javascript-obfuscator": "^4.1.1",
|
|
|
|
"jimp": "^0.22.12",
|
|
|
|
"jsonwebtoken": "^9.0.2",
|
|
|
|
"keyv": "^4.5.4",
|
2024-01-17 09:22:28 +08:00
|
|
|
"lodash": "^4.17.21",
|
2024-07-07 13:09:08 +08:00
|
|
|
"microsoft-cognitiveservices-speech-sdk": "^1.38.0",
|
|
|
|
"mysql2": "^3.10.1",
|
|
|
|
"nestjs-config": "^1.4.11",
|
2024-01-17 09:22:28 +08:00
|
|
|
"nestjs-rate-limiter": "^3.1.0",
|
|
|
|
"nestjs-redis": "^1.3.3",
|
2024-07-07 13:09:08 +08:00
|
|
|
"node-fetch": "^3.3.2",
|
|
|
|
"nodemailer": "^6.9.14",
|
2024-01-17 09:22:28 +08:00
|
|
|
"passport": "^0.6.0",
|
|
|
|
"passport-jwt": "^4.0.1",
|
2024-07-07 13:09:08 +08:00
|
|
|
"redis": "^4.6.14",
|
|
|
|
"reflect-metadata": "^0.1.14",
|
|
|
|
"rxjs": "^7.8.1",
|
2024-01-17 09:22:28 +08:00
|
|
|
"stream-to-buffer": "^0.1.0",
|
|
|
|
"svg-captcha": "^1.4.0",
|
2024-07-07 13:09:08 +08:00
|
|
|
"swagger-ui-express": "^4.6.3",
|
|
|
|
"typeorm": "^0.3.20",
|
|
|
|
"uuid": "^9.0.1",
|
|
|
|
"wechatpay-node-v3": "^2.2.0"
|
2024-01-17 09:22:28 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-07-07 13:09:08 +08:00
|
|
|
"@nestjs/cli": "^9.5.0",
|
|
|
|
"@nestjs/schematics": "^9.2.0",
|
|
|
|
"@nestjs/testing": "^9.4.3",
|
|
|
|
"@types/express": "^4.17.21",
|
2024-01-17 09:22:28 +08:00
|
|
|
"@types/jest": "29.2.4",
|
|
|
|
"@types/node": "18.11.18",
|
2024-07-07 13:09:08 +08:00
|
|
|
"@types/supertest": "^2.0.16",
|
2024-01-17 09:22:28 +08:00
|
|
|
"jest": "29.3.1",
|
2024-07-07 13:09:08 +08:00
|
|
|
"prettier": "^2.8.8",
|
|
|
|
"source-map-support": "^0.5.21",
|
|
|
|
"supertest": "^6.3.4",
|
2024-01-17 09:22:28 +08:00
|
|
|
"ts-jest": "29.0.3",
|
2024-07-07 13:09:08 +08:00
|
|
|
"ts-loader": "^9.5.1",
|
|
|
|
"ts-node": "^10.9.2",
|
2024-01-17 09:22:28 +08:00
|
|
|
"tsconfig-paths": "4.1.1",
|
2024-07-07 13:09:08 +08:00
|
|
|
"typescript": "^4.9.5"
|
2024-01-17 09:22:28 +08:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"ts"
|
|
|
|
],
|
|
|
|
"rootDir": "src",
|
|
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
|
|
},
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"**/*.(t|j)s"
|
|
|
|
],
|
|
|
|
"coverageDirectory": "../coverage",
|
|
|
|
"testEnvironment": "node"
|
|
|
|
}
|
|
|
|
}
|