-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.55 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
{
"name": "electron-vitejs-react-boilerplate",
"private": true,
"version": "0.0.0",
"type": "commonjs",
"main": "build/electron.js",
"license": "ISC",
"author": {
"name": "Gihan Rangana",
"email": "[email protected]"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"electron": "tsc -p electron && concurrently -k \"npm run dev\" \"tsc -p electron -w\" \"electron .\"",
"electron:pack": "electron-builder --dir",
"electron:builder": "electron-builder",
"build:for:electron": "cross-env ELECTRON=true vite build",
"app:build": "npm run build:for:electron && npm run electron:builder"
},
"build": {
"appId": "com.my-website.my-app",
"productName": "MyApp",
"copyright": "Copyright © 2022 ${author}",
"mac": {
"category": "public.app-category.utilities"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"files": [
"dist/**/*",
"build/**/*"
],
"directories": {
"buildResources": "assets",
"output": "electron_build"
}
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react": "^2.1.0",
"concurrently": "^7.4.0",
"cross-env": "^7.0.3",
"electron": "^20.1.4",
"electron-builder": "^23.3.3",
"electron-reload": "^2.0.0-alpha.1",
"typescript": "^4.6.4",
"vite": "^3.1.0",
"wait-on": "^6.0.1"
}
}