-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 1.82 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
{
"name": "electron-reactjs-boilerplate-ts",
"version": "0.1.0",
"private": true,
"dependencies": {
"@electron/remote": "^1.2.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"electron-is-dev": "^2.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
},
"main": "public/electron/main.js",
"homepage": "./",
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"electron:dev": "tsc -p electron --outDir public && concurrently -k \"cross-env BROWSER=none npm run start\" \"npm run electron:start\"",
"electron:build": "npm run build && tsc -p electron && electron-builder -c.extraMetadata.main=build/electron/main.js",
"electron:start": "wait-on tcp:3000 && tsc -p electron && electron ."
},
"build": {
"extends": null,
"appId": "com.appid",
"files": [
"dist/**/*",
"build/**/*",
"node_modules/**/*",
"package.json"
],
"directories": {
"buildResources": "assets"
}
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"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/node": "^15.12.4",
"concurrently": "^6.2.0",
"cross-env": "^7.0.3",
"electron": "^13.1.4",
"electron-builder": "^22.11.7",
"wait-on": "^5.3.0"
}
}