140 lines
4.0 KiB
JSON
140 lines
4.0 KiB
JSON
|
|
{
|
||
|
|
"name": "@neta/backend",
|
||
|
|
"version": "8.0.0",
|
||
|
|
"description": "AI Flow 审核平台后端 - 基于 Midway.js + Cool Admin 的 AI 流程编排引擎",
|
||
|
|
"private": true,
|
||
|
|
"overrides": {
|
||
|
|
"@cool-midway/core": "8.0.7"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"@anthropic-ai/sdk": "^0.81.0",
|
||
|
|
"@baiducloud/sdk": "^1.0.7",
|
||
|
|
"@cool-midway/core": "8.0.7",
|
||
|
|
"@cool-midway/rpc": "8.0.1",
|
||
|
|
"@cool-midway/task": "8.0.2",
|
||
|
|
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
||
|
|
"@ffprobe-installer/ffprobe": "^2.1.2",
|
||
|
|
"@midwayjs/bootstrap": "^3.20.11",
|
||
|
|
"@midwayjs/cache-manager": "^3.20.11",
|
||
|
|
"@midwayjs/core": "^3.20.11",
|
||
|
|
"@midwayjs/cron": "^3.20.11",
|
||
|
|
"@midwayjs/cross-domain": "^3.20.16",
|
||
|
|
"@midwayjs/info": "^3.20.16",
|
||
|
|
"@midwayjs/koa": "^3.20.16",
|
||
|
|
"@midwayjs/logger": "^4.0.1",
|
||
|
|
"@midwayjs/socketio": "^3.20.11",
|
||
|
|
"@midwayjs/static-file": "^3.20.16",
|
||
|
|
"@midwayjs/typeorm": "^3.20.11",
|
||
|
|
"@midwayjs/upload": "^3.20.16",
|
||
|
|
"@midwayjs/validate": "^3.20.16",
|
||
|
|
"@modelcontextprotocol/sdk": "^1.20.1",
|
||
|
|
"@mongodb-js/zstd": "^2.0.1",
|
||
|
|
"@nut-tree-fork/nut-js": "^4.2.6",
|
||
|
|
"@sinclair/typebox": "^0.34.49",
|
||
|
|
"@types/fluent-ffmpeg": "^2.1.28",
|
||
|
|
"adm-zip": "^0.5.16",
|
||
|
|
"axios": "^1.12.2",
|
||
|
|
"better-sqlite3": "^12.8.0",
|
||
|
|
"clipboardy": "^5.3.1",
|
||
|
|
"cron": "^4.3.3",
|
||
|
|
"d3-dsv": "^3.0.1",
|
||
|
|
"docx": "^8.5.0",
|
||
|
|
"download": "^8.0.0",
|
||
|
|
"ejs": "^5.0.1",
|
||
|
|
"exifr": "^7.1.3",
|
||
|
|
"fluent-ffmpeg": "^2.1.3",
|
||
|
|
"iconv-lite": "^0.7.2",
|
||
|
|
"js-tiktoken": "^1.0.21",
|
||
|
|
"js-yaml": "^4.1.1",
|
||
|
|
"jsonwebtoken": "^9.0.2",
|
||
|
|
"jszip": "^3.10.1",
|
||
|
|
"koffi": "^2.16.2",
|
||
|
|
"lodash": "^4.17.21",
|
||
|
|
"mammoth": "^1.11.0",
|
||
|
|
"md5": "^2.3.0",
|
||
|
|
"moment": "^2.30.1",
|
||
|
|
"mysql2": "^3.11.0",
|
||
|
|
"node-screenshots": "^0.2.8",
|
||
|
|
"officeparser": "^5.2.2",
|
||
|
|
"openai": "^4.73.0",
|
||
|
|
"patchright": "1.59.4",
|
||
|
|
"pdf-lib": "^1.17.1",
|
||
|
|
"pdf-parse": "^2.4.5",
|
||
|
|
"pdfkit": "^0.18.0",
|
||
|
|
"pg": "^8.16.3",
|
||
|
|
"pptxgenjs": "^3.12.0",
|
||
|
|
"sharp": "^0.34.5",
|
||
|
|
"socks": "^2.8.8",
|
||
|
|
"svg-captcha": "^1.4.0",
|
||
|
|
"tslib": "^2.8.1",
|
||
|
|
"turndown": "^7.2.1",
|
||
|
|
"typeorm": "npm:@cool-midway/typeorm@0.3.20",
|
||
|
|
"typescript": "~5.9.3",
|
||
|
|
"uuid": "^13.0.0",
|
||
|
|
"ws": "^8.18.3",
|
||
|
|
"xlsx": "^0.18.5",
|
||
|
|
"zod": "^4.1.12",
|
||
|
|
"zod-to-json-schema": "^3.24.6"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@midwayjs/bundle-helper": "^1.3.0",
|
||
|
|
"@midwayjs/mock": "^3.20.11",
|
||
|
|
"@types/adm-zip": "^0.5.8",
|
||
|
|
"@types/better-sqlite3": "^7.6.13",
|
||
|
|
"@types/jest": "^30.0.0",
|
||
|
|
"@types/js-yaml": "^4.0.9",
|
||
|
|
"@types/node": "24",
|
||
|
|
"@types/pdfkit": "^0.17.5",
|
||
|
|
"@yao-pkg/pkg": "^6.9.0",
|
||
|
|
"cross-env": "^10.1.0",
|
||
|
|
"jest": "^30.2.0",
|
||
|
|
"mwts": "^1.3.0",
|
||
|
|
"mwtsc": "^1.15.2",
|
||
|
|
"nock": "14.0.0",
|
||
|
|
"rimraf": "^6.0.1",
|
||
|
|
"ts-jest": "^29.4.5",
|
||
|
|
"ts-node": "^10.9.2",
|
||
|
|
"tsx": "^4.21.0"
|
||
|
|
},
|
||
|
|
"engines": {
|
||
|
|
"node": ">=22.0.0"
|
||
|
|
},
|
||
|
|
"scripts": {
|
||
|
|
"start": "NODE_ENV=production node ./bootstrap.js",
|
||
|
|
"dev": "rimraf src/index.ts && cool check && cross-env NODE_ENV=local mwtsc --cleanOutDir --watch --run @midwayjs/mock/app.js --keepalive",
|
||
|
|
"test": "cross-env NODE_ENV=unittest jest",
|
||
|
|
"cov": "jest --coverage",
|
||
|
|
"lint": "mwts check",
|
||
|
|
"lint:fix": "mwts fix",
|
||
|
|
"ci": "npm run cov",
|
||
|
|
"build": "cool entity && bundle && mwtsc --cleanOutDir",
|
||
|
|
"build:obfuscate": "cool entity && bundle && mwtsc --cleanOutDir && cool obfuscate",
|
||
|
|
"pkg": "node scripts/pkg-build.js",
|
||
|
|
"build:windows-installer": "node scripts/build-windows-installer.js",
|
||
|
|
"pm2:start": "pm2 start ./bootstrap.js -i 1 --name cool-admin",
|
||
|
|
"pm2:stop": "pm2 stop cool-admin & pm2 delete cool-admin"
|
||
|
|
},
|
||
|
|
"bin": "./bootstrap.js",
|
||
|
|
"pkg": {
|
||
|
|
"scripts": [
|
||
|
|
"dist/**/*",
|
||
|
|
"node_modules/axios/dist/node/*"
|
||
|
|
],
|
||
|
|
"assets": [
|
||
|
|
"public/**/*",
|
||
|
|
"typings/**/*",
|
||
|
|
"src/locales/**/*"
|
||
|
|
],
|
||
|
|
"targets": [
|
||
|
|
"node20-win-x64"
|
||
|
|
],
|
||
|
|
"outputPath": "build"
|
||
|
|
},
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "https://cool-js.com"
|
||
|
|
},
|
||
|
|
"author": "COOL",
|
||
|
|
"license": "MIT"
|
||
|
|
}
|