-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.48 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
{
"name": "react-electron-ts",
"version": "0.1.0",
"description": "Simple boilerplate for developing an Electron app with React",
"author": "david-fernando",
"build": {
"appId": "react.electron",
"win": {
"icon": "build/icon.png"
}
},
"main": "public/electron.js",
"homepage": "./",
"private": true,
"dependencies": {
"cross-env": "^7.0.3",
"electron-is-dev": "^2.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.4.2",
"react-scripts": "^5.0.1",
"typescript": "^4.8.4"
},
"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",
"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": {
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.8",
"@types/react-router-dom": "^5.3.3",
"concurrently": "^7.5.0",
"electron": "^20.2.0",
"electron-builder": "^23.6.0",
"wait-on": "^6.0.1"
}
}