-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (92 loc) · 2.43 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"homepage": ".",
"name": "service-manager-app",
"version": "0.1.0",
"private": true,
"author": "Gabriel G C Botareli",
"dependencies": {
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@mui/material": "^5.2.3",
"@mui/styled-engine-sc": "^5.1.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"child_process": "^1.0.2",
"copyfiles": "^2.4.1",
"fs": "^0.0.1-security",
"python-shell": "^3.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"styled-components": "^5.3.3",
"web-vitals": "^1.0.1",
"electron-is-dev": "^2.0.0",
"electron-packager": "^15.4.0"
},
"scripts": {
"react-start": "react-scripts start",
"react-build": "react-scripts build",
"react-test": "react-scripts test",
"react-eject": "react-scripts eject",
"electron-build": "electron-builder",
"release": "yarn react-build && electron-builder --publish=always",
"build": "yarn react-build && yarn copyfiles -f src/electron.js build && yarn copyfiles -f src/preload.js build && yarn electron-build",
"start": "concurrently \"cross-env BROWSER=none yarn react-start\" \"wait-on http://localhost:3000 && electron src/electron.js\""
},
"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/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/styled-components": "^5.1.17",
"concurrently": "^6.4.0",
"cross-env": "^7.0.3",
"typescript": "^4.1.2",
"wait-on": "^6.0.0",
"electron": "^16.0.4",
"electron-builder": "^22.14.5"
},
"build": {
"appId": "service-manager",
"productName": "Service Manager",
"target": "NSIS",
"files":[
"python/*",
"node_modules",
"package.json",
"electron.js"
],
"directories":{
"buildResources":"build"
},
"extraResources": [
{
"from": "./src/python",
"to": "python"
}
],
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false
}
}
}