-
Notifications
You must be signed in to change notification settings - Fork 45
/
package.json
71 lines (71 loc) · 1.77 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
{
"name": "react-electron",
"version": "0.1.0",
"description": "Simple boilerplate for developing an Electron app with React",
"author": "willjw3",
"build": {
"appId": "react.electron",
"productName": "react-electron",
"mac":{
"icon": "build/logo512.png",
"target": "tar.gz"
},
"linux": {
"category": "Utils",
"icon": "build/icon.png",
"packageCategory": "utils",
"maintainer": "your name <your email>",
"asar": true,
"target": [
"deb",
"tar.xz"
],
"synopsis": "Basically same as description but shorter"
},
"win": {
"icon": "build/icon.png",
"target": "nsis"
}
},
"main": "public/electron.js",
"homepage": "./",
"private": true,
"dependencies": {
"cross-env": "^6.0.3",
"electron-is-dev": "^1.1.0",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-router-dom": "^5.1.2",
"react-scripts": "3.2.0"
},
"scripts": {
"start-react": "react-scripts start",
"build-react": "react-scripts build",
"test-react": "react-scripts test --env=jsdom",
"eject-react": "react-scripts eject",
"build-electron": "electron-builder",
"build": "yarn build-react && yarn build-electron -wml",
"start": "concurrently \"cross-env BROWSER=none yarn start-react\" \"wait-on http://localhost:3000 && electron .\""
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"concurrently": "^5.0.0",
"electron": "^7.1.0",
"electron-builder": "^22.1.0",
"wait-on": "^3.3.0"
}
}