-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 2.54 KB
/
Copy pathpackage.json
File metadata and controls
105 lines (105 loc) · 2.54 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
{
"name": "autoagent",
"version": "0.8.0",
"private": true,
"type": "module",
"description": "AutoAgent Desktop - AI Agent for coding automation",
"author": "AutoAgent Team",
"main": "dist/main.js",
"build": {
"appId": "com.autoagent.desktop",
"productName": "AutoAgent",
"directories": {
"output": "release"
},
"afterPack": "scripts/after-pack-win.cjs",
"files": [
"dist/**/*",
"package.json",
"packages/opencc/dist/**/*",
"packages/opencc/package.json"
],
"extraResources": [
{
"from": "build-resources/bun_runtime.exe",
"to": "bun_runtime.exe"
},
{
"from": "packages/opencc/dist",
"to": "opencc-dist"
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64"]
},
{
"target": "portable",
"arch": ["x64"]
}
],
"icon": "assets/icon.ico",
"extraResources": [
{
"from": "build-resources/rg.exe",
"to": "rg.exe"
},
{
"from": "assets/icon.ico",
"to": "icon.ico"
},
{
"from": "assets/icon.png",
"to": "icon.png"
}
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"include": "scripts/installer.nsh"
},
"portable": {
"artifactName": "${productName}-${version}-portable-x64.${ext}"
},
"extraMetadata": {
"main": "dist/main.js"
}
},
"workspaces": [
"packages/*",
"packages/opencc/packages/*",
"packages/opencc/packages/@ant/*"
],
"scripts": {
"build": "bun run build:desktop",
"build:desktop": "bun scripts/build-desktop.mjs",
"package:win:local": "node scripts/package-win-local.mjs",
"dev": "bun run build:desktop && electron --no-sandbox .",
"start": "bun run build:desktop && electron --no-sandbox ."
},
"dependencies": {
"@anthropic-ai/sdk": "^0.91.1",
"@modelcontextprotocol/sdk": "^1.29.0",
"lucide-react": "^1.12.0",
"mermaid": "^11.12.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-markdown": "^10.1.0",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"remark-gfm": "^4.0.1"
},
"devDependencies": {
"@types/bun": "^1.3.11",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"electron": "^41.3.0",
"electron-builder": "^26.8.1",
"typescript": "^5.8.3"
}
}