Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.5 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 2.5 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
{
"name": "duplex",
"version": "0.2.10",
"private": true,
"description": "Duplex - one browser shared by a human and an AI: visual for the human, source-level for the AI",
"main": "./out/main/index.js",
"type": "module",
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"start": "electron-vite preview",
"typecheck": "tsc -p tsconfig.node.json --noEmit && tsc -p tsconfig.web.json --noEmit",
"build:bridge": "esbuild src/mcp-bridge/index.ts --bundle --platform=node --format=cjs --outfile=dist-bridge/index.cjs --external:electron --banner:js=\"#!/usr/bin/env node\"",
"bridge": "node dist-bridge/index.cjs",
"test": "vitest run",
"smoke": "node tests/smoke.mjs",
"dist": "electron-builder --win --publish never",
"dist:mac": "electron-builder --mac --publish never",
"dist:linux": "electron-builder --linux --publish never"
},
"devDependencies": {
"@types/node": "^26.6.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^5.2.0",
"electron": "^44.4.5",
"electron-builder": "^26.15.3",
"electron-vite": "^5.0.0",
"esbuild": "^0.28.2",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"typescript": "^7.0.2",
"vite": "^7.3.6",
"vitest": "^5.0.2"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.30.1",
"playwright-core": "^1.64.0",
"zod": "^4.6.5"
},
"build": {
"appId": "com.duplex.app",
"productName": "Duplex",
"directories": {
"output": "release"
},
"files": [
"out/**/*",
"package.json",
"dist-bridge/**/*"
],
"asarUnpack": [
"dist-bridge/**"
],
"win": {
"icon": "build/icon.png",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"mac": {
"icon": "build/icon.png",
"target": [
{
"target": "dmg",
"arch": [
"arm64",
"x64"
]
}
]
},
"linux": {
"icon": "build/icon.png",
"category": "Utility",
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Duplex"
}
}
}