-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.59 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 2.59 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
{
"name": "opencodex",
"productName": "OpenCodex",
"main": "desktop/main.cjs",
"author": "OpenAI",
"version": "1.0.0",
"description": "Standalone OpenCodex package for the bundled desktop app, web gateway, and vendor code",
"private": true,
"scripts": {
"postinstall": "node scripts/fix-node-pty-spawn-helper.cjs",
"web:dev": "node gateway/dist/server.js",
"build": "pnpm run build:vendor && pnpm run build:gateway",
"build:gateway": "tsc -p gateway/tsconfig.json",
"build:vendor": "pnpm --dir vendor/electron-to-web run build",
"test:vendor": "pnpm --dir vendor/electron-to-web run test",
"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"
},
"dependencies": {
"@electron/asar": "^4.1.2",
"balanced-match": "^4.0.2",
"better-sqlite3": "^12.8.0",
"brace-expansion": "^5.0.6",
"express": "^5.2.1",
"json-rpc-2.0": "^1.7.0",
"node-pty": "^1.1.0",
"smol-toml": "^1.5.2",
"tslib": "^2.8.1",
"ws": "^8.18.3"
},
"devDependencies": {
"electron": "^41.2.1",
"electron-builder": "^26.0.12",
"@types/node": "^20.19.27",
"@types/ws": "^8.18.1",
"typescript": "^5.9.3"
},
"pnpm": {
"onlyBuiltDependencies": [
"better-sqlite3",
"electron",
"electron-winstaller",
"node-pty"
]
},
"build": {
"appId": "dev.opencodex.launcher",
"productName": "OpenCodex",
"asar": false,
"directories": {
"output": "release"
},
"files": [
"package.json",
"desktop/**/*",
"gateway/dist/**/*",
"node_modules/**/*",
"web-shell/**/*",
"vendor/electron-to-web/dist/**/*",
"vendor/electron-to-web/package.json"
],
"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"
]
}
]
}
}
}