-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.13 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 3.13 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
{
"name": "opencodex",
"productName": "OpenCodex",
"main": "desktop/main.cjs",
"author": "OpenAI",
"version": "2.0.0",
"description": "Standalone OpenCodex launcher that reuses the official Codex renderer and runtime",
"private": true,
"scripts": {
"web:dev": "pnpm run build:gateway && node gateway/dev/run-gateway.cjs",
"build": "pnpm run build:gateway",
"build:gateway": "node -e \"require('node:fs').rmSync('gateway/dist', { force: true, recursive: true })\" && tsc -p gateway/tsconfig.json",
"desktop:dev": "pnpm run build && pnpm exec electron .",
"desktop:pack:mac": "pnpm run build && pnpm exec electron-builder --mac --dir",
"desktop:dist:mac": "pnpm run build && pnpm exec electron-builder --mac dmg zip",
"desktop:pack:win": "pnpm run build && pnpm exec electron-builder --win --dir --x64",
"desktop:dist:win": "pnpm run build && pnpm exec electron-builder --win nsis zip --x64",
"desktop:pack:linux": "pnpm run build && pnpm exec electron-builder --linux --dir --x64",
"desktop: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",
"desktop/**/*",
"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"
]
}
]
}
}
}