-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
50 lines (50 loc) · 1.49 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
{
"name": "electron-react-example",
"author": "Scott D Serage",
"description": "A simple electron app demonstrating basic React integration.",
"version": "0.1.0",
"private": true,
"homepage": "./",
"dependencies": {
"axios": "^0.18.0",
"electron-debug": "^2.0.0",
"electron-devtools-installer": "^2.2.4",
"electron-is-dev": "^1.0.1",
"electron-webpack": "^2.6.1",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-router-dom": "^4.3.1",
"react-scripts": "2.1.2"
},
"scripts": {
"start": "react-scripts start",
"react-build": "react-scripts build",
"electron-build": "electron-builder",
"electron-quick-build": "electron-builder --dir",
"build": "npm run react-build && npm run electron-build",
"quick-build": "npm run react-build && npm run electron-quick-build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"electron-dev": "concurrently \"BROWSER=none npm start\" \"wait-on http://localhost:3000 && electron .\"",
"electron-pack": "build -c.extraMetadata.main=build/main.js",
"pack": "electron-builder --dir",
"dist": "electron-builder"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"concurrently": "^4.1.0",
"devtron": "^1.4.0",
"electron": "^4.0.0",
"electron-builder": "^20.38.4",
"wait-on": "^3.2.0"
},
"main": "public/electron.js"
}