-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.74 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.74 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
{
"name": "system-design-ai",
"version": "1.0.0",
"description": "Desktop app for recording Excalidraw interactions.",
"private": true,
"type": "module",
"main": "dist-electron/main.js",
"scripts": {
"dev": "vite",
"build": "tsc -p tsconfig.json && tsc -p tsconfig.node.json && vite build",
"icon": "python3 scripts/create-icon.py",
"pack:mac": "npm run icon && npm run build && electron-builder --mac --dir",
"dist:mac": "npm run icon && npm run build && electron-builder --mac",
"pack:linux": "npm run icon && npm run build && electron-builder --linux --dir",
"dist:linux": "npm run icon && npm run build && electron-builder --linux AppImage tar.xz",
"dist:linux:pacman": "npm run icon && npm run build && electron-builder --linux pacman",
"install:mac": "npm run pack:mac && rm -rf \"/Applications/SystemDesign.ai.app\" && cp -R \"release/mac-arm64/SystemDesign.ai.app\" \"/Applications/\" && rm -rf \"release/mac-arm64\"",
"pack:win": "npm run icon && npm run build && electron-builder --win --dir",
"dist:win": "npm run icon && npm run build && electron-builder --win",
"preview": "vite preview"
},
"dependencies": {
"@excalidraw/excalidraw": "^0.18.1",
"@radix-ui/react-collapsible": "^1.1.13",
"@radix-ui/react-dialog": "^1.1.16",
"@radix-ui/react-scroll-area": "^1.2.11",
"@radix-ui/react-slot": "^1.2.5",
"class-variance-authority": "^0.7.1",
"lucide-react": "^1.18.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/node": "^20.19.43",
"@types/react": "^18.3.31",
"@types/react-dom": "^18.3.7",
"@vitejs/plugin-react": "^4.7.0",
"electron": "^31.7.7",
"electron-builder": "^26.15.3",
"typescript": "^5.9.3",
"vite": "^5.4.21",
"vite-plugin-electron": "^0.28.8"
},
"build": {
"appId": "com.local.system-design-ai",
"productName": "SystemDesign.ai",
"directories": {
"output": "release"
},
"artifactName": "${productName}-${version}-${arch}.${ext}",
"files": [
"dist/**/*",
"dist-electron/**/*",
"package.json"
],
"mac": {
"category": "public.app-category.productivity",
"icon": "build/icon.png",
"target": [
"dmg",
"zip"
],
"identity": null
},
"linux": {
"category": "Utility",
"icon": "build/icon.png",
"target": [
"AppImage",
"tar.xz"
]
},
"win": {
"icon": "build/icon.png",
"target": [
"nsis",
"portable"
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true
},
"dmg": {
"artifactName": "${productName}-${version}-${arch}.${ext}"
}
}
}