This repository has been archived by the owner on Jun 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
66 lines (66 loc) · 2.64 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
{
"name": "skylive",
"productName": "SkyLive",
"main": "electron/main.js",
"version": "0.1.0",
"repository": "github:DaWe35/SkyLive-GUI",
"dependencies": {
"@material-ui/core": "^4.10.2",
"@material-ui/icons": "^4.9.1",
"axios": "^0.21.1",
"cross-spawn": "^7.0.3",
"electron-log": "^4.2.2",
"electron-updater": "^4.3.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"react-scripts": "^3.4.1",
"tree-kill": "^1.2.2",
"typeface-roboto": "0.0.75"
},
"scripts": {
"start": "run-script-os",
"start:linux:darwin": "export BROWSER=none && react-scripts start",
"start:win32": "set \"BROWSER=none\" && react-scripts start",
"build": "react-scripts build && npm run build-electron",
"test": "react-scripts test",
"eject": "react-scripts eject",
"start-electron": "run-script-os",
"start-electron:darwin:linux": "export ELECTRON_START_URL=http://localhost:3000 && electron .",
"start-electron:win32": "set \"ELECTRON_START_URL=http://localhost:3000\" && electron .",
"build-electron": "run-script-os",
"build-electron:win32": "mkdir build\\src && xcopy electron build\\electron\\ /E/H/C/I && xcopy src\\shared build\\src\\shared\\ /E/H/C/I && xcopy commands.js build\\",
"build-electron:darwin:linux": "mkdir build/src && cp -r electron/. build/electron && cp -r src/shared/. build/src/shared && cp commands.js build/",
"package": "run-script-os",
"package:linux": "electron-builder build --linux -c.extraMetadata.main=build/electron/main.js --publish never",
"package:win32": "electron-builder build --win -c.extraMetadata.main=build\\electron\\main.js --publish never",
"package:darwin": "electron-builder build --macos -c.extraMetadata.main=build/electron/main.js --publish never",
"package-all": "run-script-os",
"package-all:win32": "electron-builder build --win --linux --macos -c.extraMetadata.main=build\\electron\\main.js --publish never",
"package-all:darwin:linux": "electron-builder build --win --linux --macos -c.extraMetadata.main=build/electron/main.js --publish never"
},
"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": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"electron": "^11.5.0",
"electron-builder": "^22.7.0",
"run-script-os": "^1.1.1"
},
"homepage": "./"
}