- engine/(registry/types/runtime/expression)物理迁入包, 解耦shared/types(域类型归包, 宿主type-only re-export) - 31个纯Node能力+27个测试迁入包; 宿主留守Electron/浏览器/AI依赖能力, index.ts经@rpa/core/capabilities拉起 - 新增createEngine()/defaultEngine: excel缓存/Excel句柄/db连接/FTP客户端/OCR实例/拟真设置挂引擎实例 - remaining-core子流程依赖改为host-bridge注入, 包内不再import宿主flows - 宿主main/index.ts启动时注入子流程源; electron-vite/vitest/tsconfig配@rpa/core源码别名 - 验证: typecheck绿, 快照909个id diff为零, 332测试过(2个桌面冒烟因会话无交互SetForegroundWindow被拒, 环境阻塞)
70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
|
"name": "rpa-studio",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Canvas-based RPA desktop application",
|
|
"main": "./out/main/index.js",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"dev": "electron-vite dev",
|
|
"dev:local": "node scripts/dev-safe.mjs",
|
|
"start:local": "node scripts/start.mjs",
|
|
"build": "electron-vite build",
|
|
"preview": "electron-vite preview",
|
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
"catalog": "node scripts/build-catalog.mjs",
|
|
"snapshot": "vitest run scripts/capability-snapshot.test.ts",
|
|
"package": "node scripts/package.mjs",
|
|
"test": "vitest run",
|
|
"test:e2e": "node scripts/demo-e2e.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@cantoo/pdf-lib": "^2.11.1",
|
|
"@gutenye/ocr-models": "^1.4.2",
|
|
"@gutenye/ocr-node": "^1.4.9",
|
|
"@napi-rs/canvas": "^1.1.0",
|
|
"@xyflow/react": "^12.12.0",
|
|
"adm-zip": "^0.5.16",
|
|
"basic-ftp": "^6.2.3",
|
|
"exceljs": "^4.4.0",
|
|
"imapflow": "^2.10.0",
|
|
"lucide-react": "^0.468.0",
|
|
"mailparser": "^3.14.1",
|
|
"mssql": "^12.7.13",
|
|
"mysql2": "^3.24.6",
|
|
"nodemailer": "^6.9.16",
|
|
"onnxruntime-node": "^1.31.1",
|
|
"pdf-lib": "^1.17.1",
|
|
"pdfjs-dist": "^4.10.38",
|
|
"pg": "^8.23.1",
|
|
"pngjs": "^7.0.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"sm-crypto": "^0.5.8",
|
|
"tesseract.js": "^7.0.0",
|
|
"ws": "^8.22.0",
|
|
"zustand": "^5.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/adm-zip": "^0.5.7",
|
|
"@types/mssql": "^12.3.0",
|
|
"@types/node": "^22.10.2",
|
|
"@types/nodemailer": "^6.4.17",
|
|
"@types/pg": "^8.23.1",
|
|
"@types/pngjs": "^6.0.5",
|
|
"@types/react": "^18.3.12",
|
|
"@types/react-dom": "^18.3.1",
|
|
"@types/ws": "^8.18.2",
|
|
"@vitejs/plugin-react": "^4.7.0",
|
|
"electron": "31.7.7",
|
|
"electron-builder": "^26.15.7",
|
|
"electron-vite": "^6.0.0",
|
|
"typescript": "^5.7.2",
|
|
"vite": "^7.1.0",
|
|
"vitest": "^2.1.8"
|
|
},
|
|
"author": "RPA Studio"
|
|
}
|