forked from WilianZilv/reactron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 1.98 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
66
67
68
69
70
71
72
73
74
{
"name": "reactron",
"version": "0.1.0",
"homepage": "./",
"main": "public/electron.js",
"private": true,
"scripts": {
"start": "concurrently npm:*:dev",
"electron:dev": "nodemon --exec \"electron .\"",
"react:dev": "react-scripts start",
"react:build": "react-scripts build",
"dist:win": "npm run react:build && electron-builder --win",
"dist:linux": "npm run react:build && electron-builder --linux",
"dist:mac": "npm run react:build && electron-builder --mac"
},
"build": {
"appId": "wilianzilv.reactron",
"productName": "reactron",
"files": [
"build/**/*",
"node_modules/**/*",
"backend/**",
"src/**/**"
],
"extraResources": [
{
"from": "./resources/",
"to": "./"
}
],
"win": {
"target": "nsis",
"icon": "resources/media/icon.ico"
},
"mac": {
"category": "your.app.category",
"icon": "resources/media/icon.ico"
},
"linux": {
"category": "Your app category",
"icon": "resources/media/icon.ico",
"target": {
"target": "appimage",
"arch": [
"x64"
]
}
}
},
"dependencies": {
"electron-is-dev": "^1.2.0"
},
"devDependencies": {
"concurrently": "^5.1.0",
"electron": "^8.2.3",
"electron-builder": "^22.5.1",
"nodemon": "^2.0.3",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}