-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.71 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 1.71 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
{
"name": "meal-mate",
"version": "1.0.0",
"description": "Desktop application for food donation and distribution",
"main": "electron/main.js",
"author": {
"name": "Praso28",
"email": "praso28@example.com"
},
"scripts": {
"start": "concurrently \"npm run start:backend\" \"npm run start:frontend\" \"npm run start:electron\"",
"start:backend": "cd backend && npm run dev",
"start:frontend": "cd frontend && npm run dev",
"start:electron": "electron .",
"postinstall": "cd backend && npm install && cd ../frontend && npm install"
},
"dependencies": {
"electron-is-dev": "^2.0.0",
"electron-log": "^5.3.3",
"electron-updater": "^6.6.2"
},
"devDependencies": {
"concurrently": "^8.2.2",
"electron": "^28.1.0",
"electron-builder": "^24.9.1"
},
"build": {
"appId": "com.mealmate.app",
"productName": "MealMate",
"files": [
"electron/**/*",
"frontend/dist/**/*",
"backend/**/*",
"!backend/node_modules/**/*",
"package.json"
],
"extraResources": [
{
"from": "backend",
"to": "backend",
"filter": [
"**/*",
"!node_modules/**/*"
]
}
],
"directories": {
"buildResources": "resources",
"output": "dist"
},
"win": {
"target": ["nsis"],
"icon": "resources/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
},
"mac": {
"target": "dmg",
"icon": "resources/icon.icns"
},
"linux": {
"target": "AppImage",
"icon": "resources/icon.png"
},
"asar": true
}
}