{ "name": "agentmail-web", "version": "0.1.0", "private": true, "description": "AgentMail —— 以邮件交互为统一范式的多智能体协作平台桌面客户端", "author": { "name": "JianFeeeee", "email": "jianf@noreply.localhost" }, "homepage": "http://192.168.2.106:3000/jianf/MailUI4Agents", "desktopName": "AgentMail", "type": "module", "main": "electron/main.cjs", "scripts": { "dev": "npm run gen:bg && vite", "dev:electron": "ELECTRON_START_URL=http://localhost:5173 electron electron/main.cjs", "build": "npm run gen:bg && vite build", "build:win": "vite build && electron-builder --win", "build:linux": "mkdir -p .tmp && vite build && TMPDIR=${TMPDIR:-$PWD/.tmp} electron-builder --linux", "preview": "vite preview", "typecheck": "tsc --noEmit", "test": "node test/run-all.mjs && vitest run", "test:narrow": "node test/manual/narrow-verify.mjs", "test:wide": "node test/manual/wide-regression.mjs", "test:components": "vitest run", "test:watch": "vitest", "gen:bg": "node scripts/gen-background-takeover.mjs" }, "dependencies": { "lunar-javascript": "1.7.7", "react": "^18.3.1", "react-dom": "^18.3.1", "react-markdown": "^9.0.1", "remark-gfm": "^4.0.0", "zustand": "^4.5.4" }, "devDependencies": { "@testing-library/dom": "10.4.1", "@testing-library/jest-dom": "6.9.1", "@testing-library/react": "16.3.0", "@testing-library/user-event": "14.6.1", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@vitejs/plugin-react": "^4.3.1", "autoprefixer": "^10.4.19", "electron": "^44.2.0", "electron-builder": "^26.15.3", "jsdom": "26.1.0", "postcss": "^8.4.39", "tailwindcss": "^3.4.6", "typescript": "^5.5.3", "vite": "^5.3.4", "vitest": "3.2.4" }, "build": { "appId": "xyz.jianfgit.agentmail", "productName": "AgentMail", "files": [ "dist/**/*", "electron/**/*" ], "directories": { "buildResources": "src/icons", "output": "release" }, "win": { "icon": "src/icons/icon.ico", "target": [ { "target": "nsis", "arch": [ "x64" ] } ] }, "linux": { "icon": "src/icons", "target": [ { "target": "AppImage", "arch": [ "x64" ] }, { "target": "deb", "arch": [ "x64" ] } ], "category": "Network", "synopsis": "以邮件交互为统一范式的多智能体协作平台", "syncDesktopName": true }, "nsis": { "oneClick": false, "allowToChangeInstallationDirectory": true } } }