-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.43 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.43 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
{
"name": "electron-react-template",
"version": "0.1.0",
"main": "electron/main.js",
"private": true,
"homepage": "./",
"dependencies": {
"react": "^16.13.1",
"electron-is-dev": "^1.2.0",
"react-scripts": "3.4.1"
"react-dom": "^16.13.0",
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build && cp -r electron/. build/electron && electron-builder build --c.extraMetadata.main=build/electron/main.js --publish never",
"build-win": "react-scripts build && cp -r electron/. build/electron && electron-builder build --c.extraMetadata.main=build/electron/main.js --publish never",
"test": "react-scripts test",
"eject": "react-scripts eject",
"dev": "concurrently \"BROWSER=none npm start\" \"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": "^9.1.2",
"electron-builder": "^22.8.0",
"wait-on": "^3.3.0"
},
"build": {
"files": [
"build/**/*",
"node_modules/**/*"
],
"linux": {
"category": "Utility"
},
"win": {
"target": [
"portable",
"msi"
]
}
}
}