-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.93 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 2.93 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
{
"name": "grok-api-desktop",
"version": "0.1.0",
"description": "An unofficial Windows desktop client for xAI and Grok-compatible APIs.",
"type": "module",
"main": "dist/main/index.js",
"license": "MIT",
"author": "Grok API Desktop contributors",
"packageManager": "pnpm@11.19.0",
"engines": {
"node": ">=24",
"pnpm": ">=10"
},
"scripts": {
"dev": "pnpm build:electron && concurrently -k -n renderer,electron-ts,electron -c cyan,magenta,green \"vite\" \"tsc -p tsconfig.electron.json --watch --preserveWatchOutput\" \"wait-on tcp:5173 && cross-env VITE_DEV_SERVER_URL=http://127.0.0.1:5173 electron .\"",
"clean": "node scripts/clean.mjs",
"build:electron": "tsc -p tsconfig.electron.build.json",
"build:renderer": "vite build",
"build": "pnpm typecheck && pnpm clean && pnpm build:electron && pnpm build:renderer",
"typecheck": "tsc -p tsconfig.electron.json --noEmit && tsc -p tsconfig.renderer.json --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"mock-api": "node scripts/mock-api.mjs",
"start": "electron .",
"package:dir": "pnpm build && electron-builder --dir",
"dist:win": "pnpm build && electron-builder --win nsis zip --x64"
},
"dependencies": {
"dexie": "^4.4.5",
"lucide-react": "^1.31.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"zod": "^4.4.3"
},
"devDependencies": {
"@types/node": "^24.10.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.5",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"electron": "43.4.0",
"electron-builder": "26.15.3",
"typescript": "7.0.2",
"vite": "8.2.1",
"vitest": "^4.1.0",
"wait-on": "^9.0.3"
},
"build": {
"appId": "dev.grokapi.desktop",
"productName": "Grok API Desktop",
"asar": true,
"directories": {
"output": "release",
"buildResources": "build"
},
"files": [
"dist/**",
"package.json",
"!dist/**/*.map",
"!node_modules/**/*.map",
"!node_modules/**/*.test.*",
"!node_modules/**/test/**",
"!node_modules/**/tests/**",
"!node_modules/**/__tests__/**",
"!node_modules/zod/src/**"
],
"win": {
"icon": "build/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "zip",
"arch": [
"x64"
]
}
],
"artifactName": "Grok-API-Desktop-${version}-${arch}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Grok API Desktop",
"artifactName": "Grok-API-Desktop-${version}-${arch}-Setup.${ext}"
}
}
}