Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.54 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 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
{
"name": "cordex",
"private": true,
"version": "1.0.0",
"main": "out/main/index.js",
"author": "Cordex Team",
"description": "AI-powered programming assistant",
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"preview": "electron-vite preview",
"build:mac": "npm run build && electron-builder --mac",
"build:win": "npm run build && electron-builder --win",
"build:all": "npm run build && electron-builder -mw"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.70.1",
"@electron-toolkit/preload": "^3.0.0",
"@electron-toolkit/utils": "^3.0.0",
"@monaco-editor/react": "^4.7.0",
"clsx": "^2.1.1",
"lucide-react": "^0.554.0",
"monaco-editor": "^0.55.1",
"ollama": "^0.6.3",
"openai": "^6.9.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^10.1.0",
"tailwind-merge": "^3.4.0",
"xterm": "^5.3.0",
"xterm-addon-fit": "^0.8.0"
},
"devDependencies": {
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitejs/plugin-react": "^4.2.0",
"autoprefixer": "^10.4.22",
"electron": "^28.0.0",
"electron-builder": "^26.0.12",
"electron-vite": "^2.0.0",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.17",
"typescript": "^5.3.0",
"vite": "^5.0.0"
},
"build": {
"appId": "com.cordex.ai",
"productName": "Cordex",
"directories": {
"output": "dist"
},
"files": [
"out/**/*",
"resources/**/*"
],
"mac": {
"category": "public.app-category.developer-tools",
"icon": "resources/icon.png",
"target": [
"dmg"
],
"artifactName": "${productName}-${version}-mac.${ext}"
},
"dmg": {
"title": "${productName} ${version}",
"icon": "resources/icon.png"
},
"win": {
"icon": "resources/icon.png",
"target": [
"nsis"
],
"artifactName": "${productName}-${version}-win.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"installerIcon": "resources/icon.png",
"uninstallerIcon": "resources/icon.png"
}
}
}