{ "name": "cowagent-desktop", "version": "1.0.0", "description": "CowAgent Desktop Client - AI Agent on your desktop", "main": "dist/main/index.js", "author": "CowAgent", "license": "MIT", "scripts": { "dev": "npm run build && electron .", "dev:hot": "concurrently \"npm run dev:renderer\" \"sleep 2 && npm run dev:main\"", "dev:main": "tsc -p tsconfig.main.json && electron .", "dev:renderer": "vite", "build": "npm run build:renderer && npm run build:main", "build:main": "tsc -p tsconfig.main.json", "build:renderer": "vite build", "dist": "npm run build && electron-builder", "dist:mac": "npm run build && electron-builder --mac", "dist:win": "npm run build && electron-builder --win" }, "dependencies": { "highlight.js": "^11.11.1", "lucide-react": "^1.21.0", "markdown-it": "^14.2.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-router-dom": "^6.28.0", "zustand": "^5.0.14" }, "devDependencies": { "@types/markdown-it": "^14.1.2", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@vitejs/plugin-react": "^4.3.4", "autoprefixer": "^10.4.20", "concurrently": "^9.1.0", "electron": "^33.2.0", "electron-builder": "^25.1.8", "postcss": "^8.4.49", "tailwindcss": "^3.4.15", "typescript": "^5.7.2", "vite": "^6.0.3" }, "build": { "appId": "com.cowagent.desktop", "productName": "CowAgent", "directories": { "output": "release" }, "files": [ "dist/**/*", "resources/**/*" ], "extraResources": [ { "from": "../", "to": "backend", "filter": [ "**/*", "!desktop/**", "!.git/**", "!__pycache__/**", "!**/__pycache__/**", "!*.pyc", "!run.log", "!workspace/**" ] } ], "mac": { "category": "public.app-category.productivity", "icon": "resources/icon.icns", "target": [ { "target": "dmg", "arch": [ "universal" ] } ] }, "win": { "icon": "resources/icon.ico", "target": [ { "target": "nsis", "arch": [ "x64" ] } ] }, "nsis": { "oneClick": false, "allowToChangeInstallationDirectory": true, "createDesktopShortcut": true, "createStartMenuShortcut": true } } }