-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 1.67 KB
/
package.json
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
{
"name": "electron-typescript-app",
"private": true,
"version": "1.0.0",
"type": "module",
"main": "dist-electron/main.js",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"electron:dev": "NODE_ENV=development vite dev & electron .",
"electron:build": "tsc && vite build && electron-builder",
"build:win": "npm run build && electron-builder --win",
"build:mac": "npm run build && electron-builder --mac",
"build:linux": "npm run build && electron-builder --linux"
},
"devDependencies": {
"typescript": "^5.5.3",
"vite": "^5.4.2",
"electron": "^28.1.0",
"@types/electron": "^1.6.10",
"vite-plugin-electron": "^0.28.0",
"vite-plugin-electron-renderer": "^0.14.5",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"@vitejs/plugin-react": "^4.2.1",
"electron-builder": "^24.9.1"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"lucide-react": "^0.330.0",
"react-router-dom": "^6.22.0",
"zustand": "^4.5.0",
"clsx": "^2.1.0",
"tailwind-merge": "^2.2.1"
},
"build": {
"appId": "com.example.electronapp",
"productName": "Electron TypeScript App",
"files": [
"dist/",
"dist-electron/",
"node_modules/"
],
"directories": {
"buildResources": "assets"
},
"mac": {
"target": "dmg",
"icon": "assets/icon.icns"
},
"win": {
"target": "nsis",
"icon": "assets/icon.ico"
},
"linux": {
"target": "AppImage",
"icon": "assets/icons/"
}
}
}