-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
93 lines (92 loc) · 2.52 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
{
"name": "basic-4-in-1-react-app",
"version": "0.1.5",
"private": true,
"author": "Muhammad Sheharyar Butt <shehariyar@gmail.com> (https://github.com/shehari007)",
"description": "4 in 1 React App Based on Electron Framework",
"homepage": "./",
"main": "./public/electron.js",
"dependencies": {
"@ant-design/icons": "^5.2.6",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"antd": "^5.9.1",
"electron-drag": "^2.0.0",
"electron-remote": "^1.3.0",
"electron-store": "^8.1.0",
"fs": "^0.0.1-security",
"mathjs": "^11.11.0",
"path": "^0.12.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-draggable": "^4.4.5",
"react-open-weather": "^1.3.2",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"electron:start": "concurrently -k \"cross-env BROWSER=none npm start\" \"wait-on http://127.0.0.1:3000 && electron .\"",
"electron:package:mac": "npm run build && electron-builder -m -c.extraMetadata.main=build/electron.js",
"electron:package:win": "npm run build && electron-builder -w -c.extraMetadata.main=build/electron.js",
"electron:package:linux": "npm run build && electron-builder -l -c.extraMetadata.main=build/electron.js"
},
"build": {
"appId": "com.electron.reactapp",
"productName": "Mini Electron App",
"files": [
"build/**/*",
"node_modules/**/*"
],
"directories": {
"buildResources": "public"
},
"mac": {
"target": "dmg"
},
"win": {
"target": "nsis",
"icon": "public/logo.png"
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false
},
"linux": {
"target": "deb",
"icon": "public/logo.png"
}
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
"last 1 electron version",
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 electron version",
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"concurrently": "^8.2.1",
"cross-env": "^7.0.3",
"electron": "^26.2.1",
"electron-builder": "^24.6.4",
"electronmon": "^2.0.2",
"wait-on": "^7.0.1"
}
}