-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 3.21 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "edever-client",
"version": "1.2.7",
"author": {
"name": "Herbert He",
"email": "Herbert.He0229@gmail.com"
},
"description": "Edever Client",
"repository": "https://github.com/HerbertHe/EdeverClient",
"private": true,
"dependencies": {
"@ant-design/icons": "^4.0.2",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"antd": "^4.0.0",
"antd-dayjs-webpack-plugin": "^0.0.8",
"axios": "^0.19.2",
"babel-plugin-import": "^1.13.0",
"customize-cra": "^0.9.1",
"electron-is-dev": "^1.1.0",
"electron-updater": "^4.2.5",
"less": "^3.10.3",
"less-loader": "^5.0.0",
"react": "^16.12.0",
"react-app-rewired": "^2.1.5",
"react-dom": "^16.12.0",
"react-scripts": "3.3.1"
},
"build": {
"productName": "EdeverClient",
"appId": "cn.jieec.edeverclient",
"copyright": "copyright © Herbert He",
"directories": {
"output": "dist"
},
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"win": {
"icon": "build/logo512.png",
"artifactName": "${productName}-Setup-${version}.${ext}",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"mac": {
"icon": "build/logo512.icns",
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"linux": {
"icon": "build/logo512",
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"files": [
"dist/**/*"
],
"nsis": {
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"installerIcon": "build/favicon.ico",
"uninstallerIcon": "build/favicon.ico",
"installerHeaderIcon": "build/favicon.ico",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "EdeverClient"
},
"publish": [
{
"provider": "generic",
"url": "https://server.jieec.cn/edeverclient/"
}
]
},
"main": "./public/electron.js",
"homepage": ".",
"scripts": {
"react:dev": "react-app-rewired start",
"react:build": "react-app-rewired build",
"react:test": "react-app-rewired test",
"react:eject": "react-scripts eject",
"ele:dev": "nodemon --watch ./public/electron.js --exec concurrently \"wait-on http://localhost:3000 && electron .\" \"cross-env BROWSER=none yarn run react:dev\"",
"build:win64": "yarn react:build && electron-builder --win --x64"
},
"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": {
"concurrently": "^5.1.0",
"cross-env": "^7.0.0",
"devtron": "^1.4.0",
"electron": "8.1.1",
"electron-builder": "^22.4.1",
"nodemon": "^2.0.2",
"wait-on": "^4.0.0"
}
}