-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 3.65 KB
/
Copy pathpackage.json
File metadata and controls
130 lines (130 loc) · 3.65 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
{
"name": "opencodex",
"productName": "OpenCodex",
"main": "launcher/main.cjs",
"author": "Ryens",
"version": "2.0.1",
"description": "OpenCodex is a middleware layer for Codex Desktop. It lets you use a phone, tablet, or another computer to access and operate Codex on a target machine through a browser, making it suitable for continuous AI Coding in LAN or remote LAN environments.",
"private": true,
"scripts": {
"sync": "pnpm run sync:version",
"sync:version": "node scripts/sync-app-version.cjs",
"check:version": "node scripts/sync-app-version.cjs --check",
"test": "node --test gateway/test/auth-rate-limit.test.cjs gateway/test/http-utils.test.cjs gateway/test/workspace-roots.test.cjs launcher/test/log-writer.test.cjs",
"web:dev": "pnpm run build:gateway && node gateway/dev/run-gateway.cjs",
"build": "pnpm run build:gateway",
"build:gateway": "pnpm run sync:version && node -e \"require('node:fs').rmSync('gateway/dist', { force: true, recursive: true })\" && tsc -p gateway/tsconfig.json",
"launcher:dev": "pnpm run build && pnpm exec electron .",
"launcher:pack:mac": "pnpm run build && pnpm exec electron-builder --mac --dir",
"launcher:dist:mac": "pnpm run build && pnpm exec electron-builder --mac dmg zip",
"launcher:pack:win": "pnpm run build && pnpm exec electron-builder --win --dir --x64",
"launcher:dist:win": "pnpm run build && pnpm exec electron-builder --win nsis zip --x64",
"launcher:pack:linux": "pnpm run build && pnpm exec electron-builder --linux --dir --x64",
"launcher:dist:linux": "pnpm run build && pnpm exec electron-builder --linux AppImage deb zip --x64"
},
"dependencies": {
"@electron/asar": "^4.1.2",
"balanced-match": "^4.0.2",
"brace-expansion": "^5.0.6",
"resedit": "1.7.2",
"ws": "^8.18.3"
},
"devDependencies": {
"@types/node": "^20.19.27",
"@types/ws": "^8.18.1",
"electron": "42.0.1",
"electron-builder": "^26.0.12",
"typescript": "^5.9.3"
},
"pnpm": {
"onlyBuiltDependencies": [
"electron",
"electron-winstaller"
]
},
"build": {
"appId": "dev.opencodex.launcher",
"productName": "OpenCodex",
"asar": false,
"icon": "web-shell/assets/icon.png",
"directories": {
"output": "release"
},
"files": [
"package.json",
"launcher/**/*",
"shared/**/*",
"gateway/*.cjs",
"gateway/runner/**/*",
"gateway/runtime/**/*",
"gateway/dist/**/*",
"node_modules/**/*",
"web-shell/**/*"
],
"mac": {
"category": "public.app-category.developer-tools",
"target": [
{
"target": "dmg",
"arch": [
"arm64",
"x64"
]
},
{
"target": "zip",
"arch": [
"arm64",
"x64"
]
}
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "zip",
"arch": [
"x64"
]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": "always",
"createStartMenuShortcut": true,
"shortcutName": "OpenCodex"
},
"linux": {
"category": "Development",
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
},
{
"target": "zip",
"arch": [
"x64"
]
}
]
}
}
}