forked from kevinluosl/deepbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
167 lines (167 loc) · 4.82 KB
/
package.json
File metadata and controls
167 lines (167 loc) · 4.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "deepbot",
"version": "0.1.0",
"description": "DeepBot Terminal - 通用桌面 AI 助手",
"main": "dist-electron/main/index.js",
"author": "Kevin Luo @ Deepglint",
"license": "MIT",
"private": true,
"scripts": {
"dev": "concurrently \"pnpm run dev:renderer\" \"pnpm run dev:main\" \"pnpm run copy:templates\" \"wait-on http://localhost:5173 && pnpm run start:electron\"",
"dev:main": "tsc -p tsconfig.main.json --watch",
"dev:renderer": "vite",
"copy:templates": "node scripts/copy-templates.js",
"start": "electron .",
"start:electron": "cross-env VITE_DEV_SERVER_URL=http://localhost:5173 electron .",
"build": "pnpm run build:main && pnpm run copy:templates && pnpm run build:renderer",
"build:main": "tsc -p tsconfig.main.json",
"build:renderer": "vite build",
"type-check": "tsc -p tsconfig.main.json --noEmit && tsc -p tsconfig.renderer.json --noEmit",
"lint": "eslint . --ext .ts,.tsx",
"postinstall": "electron-builder install-app-deps && electron-rebuild",
"pack": "pnpm run build && electron-builder --dir",
"dist": "pnpm run build && electron-builder",
"dist:mac": "pnpm run build && electron-builder --mac",
"dist:win": "pnpm run build && electron-builder --win",
"dist:linux": "pnpm run build && electron-builder --linux",
"reset-dev": "bash scripts/reset-dev-data.sh"
},
"dependencies": {
"@headlessui/react": "^2.2.9",
"@larksuiteoapi/node-sdk": "^1.59.0",
"@mariozechner/pi-agent-core": "^0.55.4",
"@mariozechner/pi-ai": "^0.55.4",
"@mariozechner/pi-coding-agent": "0.55.4",
"@mozilla/readability": "^0.6.0",
"@sinclair/typebox": "^0.34.48",
"agent-browser": "^0.15.1",
"ajv": "^8.12.0",
"better-sqlite3": "^9.0.0",
"body-parser": "^2.2.2",
"chokidar": "^3.5.3",
"cron": "^4.4.0",
"express": "^5.2.1",
"linkedom": "^0.18.5",
"lucide-react": "^0.563.0",
"luxon": "^3.7.2",
"nodemailer": "^8.0.1",
"proper-lockfile": "^4.1.2",
"react-markdown": "^10.1.0",
"rehype-highlight": "^7.0.2",
"remark-gfm": "^4.0.1",
"ws": "^8.19.0",
"zod": "^3.22.0",
"zustand": "^4.4.0"
},
"devDependencies": {
"@electron/rebuild": "^3.4.0",
"@types/better-sqlite3": "^7.6.8",
"@types/express": "^5.0.6",
"@types/node": "^20.10.0",
"@types/nodemailer": "^7.0.11",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"@vitejs/plugin-react": "^4.2.0",
"autoprefixer": "^10.4.23",
"concurrently": "^8.2.0",
"cross-env": "^10.1.0",
"electron": "^28.3.3",
"electron-builder": "^24.9.0",
"electron-rebuild": "^3.2.9",
"eslint": "^8.54.0",
"postcss": "^8.5.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwindcss": "^3.3.0",
"typescript": "^5.3.0",
"vite": "^5.0.0",
"wait-on": "^9.0.3"
},
"engines": {
"node": ">=20.0.0"
},
"packageManager": "pnpm@10.23.0",
"build": {
"appId": "com.deepbot.app",
"productName": "DeepBot Terminal",
"icon": "icon.png",
"electronDownload": {
"mirror": "https://npmmirror.com/mirrors/electron/",
"cache": "~/Library/Caches/electron"
},
"asar": false,
"afterSign": "scripts/after-sign.js",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"dist-electron/**/*",
"package.json",
"!node_modules/**/{CHANGELOG.md,README.md,README,readme.md,readme}",
"!node_modules/**/{test,__tests__,tests,powered-test,example,examples}",
"!node_modules/**/*.d.ts",
"!node_modules/**/*.map",
"!node_modules/.bin"
],
"mac": {
"icon": "icon.png",
"category": "public.app-category.productivity",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
},
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
],
"identity": null,
"hardenedRuntime": false,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"win": {
"icon": "icon.png",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
]
},
"linux": {
"icon": "icon.png",
"target": [
"AppImage",
"deb"
],
"category": "Utility"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
}
}
}