-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.66 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.66 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
{
"name": "my-fullstack-app",
"version": "1.0.0",
"description": "A full-stack application built with Electron, React, and Express.",
"author": {
"name": "George D",
"email": "your-email@example.com"
},
"homepage": "https://github.com/yourusername/my-fullstack-app",
"main": "electron/electron.js",
"scripts": {
"start": "concurrently \"npm run dev:frontend\" \"npm run dev:backend\" \"npm run start:electron\"",
"dev:frontend": "cd frontend && vite",
"dev:backend": "cd backend && nodemon server.js",
"start:electron": "cd electron && electron .",
"build": "npm run build:frontend && npm run build:backend && electron-builder",
"build:frontend": "cd frontend && vite build --emptyOutDir && mkdir -p ../dist/frontend && cp -r dist/* ../dist/frontend",
"build:backend": "mkdir -p dist/backend && cp -r backend/* dist/backend"
},
"dependencies": {
"axios": "^1.6.2",
"concurrently": "^7.0.0",
"cors": "^2.8.5",
"dotenv": "^16.4.7",
"express": "^4.21.2",
"mysql2": "^3.12.0",
"nodemon": "^3.1.9"
},
"devDependencies": {
"electron": "^34.1.1",
"electron-builder": "^25.1.8",
"vite": "^4.0.0",
"@vitejs/plugin-react": "^3.0.0"
},
"build": {
"appId": "com.myapp.fullstack",
"productName": "MyFullStackApp",
"files": [
"dist/frontend/**/*",
"dist/backend/**/*",
"electron/**/*",
"electron/preload.js"
],
"directories": {
"output": "dist"
},
"win": {
"target": "nsis"
},
"linux": {
"target": [
"AppImage"
],
"category": "Utility",
"maintainer": "George D <your-email@example.com>"
}
}
}