-
Notifications
You must be signed in to change notification settings - Fork 96
/
package.json
192 lines (192 loc) · 4.78 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
{
"name": "fishing-funds",
"productName": "Fishing Funds",
"description": "基金,大盘,股票,虚拟货币状态栏显示小应用,基于Electron开发,支持 MacOS,Windows,Linux客户端,数据源来自天天基金,蚂蚁基金,爱基金,腾讯证券,新浪基金等",
"main": "release/app/dist/main/index.mjs",
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"preview": "electron-vite preview",
"build:icon": "electron-icon-builder --input=./build/icon.png --output=./icon-build",
"package": "npm run build && electron-builder build -p never",
"package-mac": "npm run build && electron-builder build -m -p never",
"package-all": "npm run build && electron-builder build -mwl -p never",
"release-all": "npm run build && electron-builder build -mwl -p always",
"beta-mac": "npm run build && electron-builder build -m -p always"
},
"build": {
"productName": "Fishing Funds",
"appId": "com.electron.1zilc.fishing-funds",
"asar": true,
"copyright": "Copyright © 2024 1zilc",
"files": [
"dist"
],
"directories": {
"app": "release/app",
"output": "release/build",
"buildResources": "build"
},
"extraResources": [
"assets"
],
"fileAssociations": [
{
"ext": "ff",
"role": "Editor",
"description": "Fishing Funds 备份文件",
"icon": "build/icon"
}
],
"mac": {
"extendInfo": {
"LSUIElement": "true"
},
"target": {
"target": "dmg",
"arch": [
"x64",
"arm64"
]
},
"type": "distribution",
"hardenedRuntime": true,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"gatekeeperAssess": false
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"target": {
"target": "nsis",
"arch": [
"x64",
"arm64"
]
}
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"linux": {
"target": {
"target": "AppImage",
"arch": [
"x64",
"arm64"
]
},
"category": "Financial"
},
"publish": [
{
"provider": "github",
"owner": "1zilc",
"repo": "fishing-funds"
}
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/1zilc/fishing-funds.git"
},
"author": {
"name": "1zilc",
"email": "[email protected]",
"url": "https://www.1zilc.top"
},
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/1zilc/fishing-funds/issues"
},
"keywords": [
"electron",
"react",
"redux",
"macos",
"linux",
"homebrew",
"menubar",
"typescript",
"bitcoin",
"stock",
"cryptocurrency",
"alipay",
"wechat",
"chinese",
"antd",
"echarts",
"funds"
],
"homepage": "https://github.com/1zilc",
"devDependencies": {
"@reduxjs/toolkit": "^2.2.7",
"@types/color": "^3.0.6",
"@types/color-hash": "^2.0.0",
"@types/node": "22.5.5",
"@types/react": "^18.3.9",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react-swc": "^3.7.0",
"ahooks": "^3.8.1",
"antd": "^5.21.1",
"babel-plugin-react-compiler": "0.0.0-experimental-57db2f6-20240926",
"cheerio": "1.0.0",
"clsx": "^2.1.1",
"color": "^4.2.3",
"color-hash": "^2.0.2",
"compare-versions": "^6.1.1",
"dayjs": "^1.11.13",
"echarts": "^5.5.1",
"electron": "33.0.0-beta.4",
"electron-builder": "^25.0.5",
"electron-icon-builder": "^2.0.1",
"electron-vite": "^2.3.0",
"generate-react-cli": "^8.4.8",
"hxc3-indicator-formula": "^1.0.9",
"js-base64": "^3.7.7",
"number-precision": "^1.6.0",
"promise-worker": "^2.0.1",
"query-string": "^9.1.0",
"react": "19.0.0-rc-67fee58b-20240926",
"react-dom": "19.0.0-rc-67fee58b-20240926",
"react-icons": "^5.3.0",
"react-redux": "^9.1.2",
"react-router-dom": "^6.26.2",
"react-sortablejs": "^6.1.4",
"redux": "^5.0.1",
"sass": "^1.79.3",
"sortablejs": "^1.15.3",
"typescript": "^5.6.2",
"vite": "^5.4.8",
"vite-plugin-mkcert": "^1.17.6"
},
"dependencies": {
"@json2csv/plainjs": "^7.0.6",
"electron-log": "^5.2.0",
"electron-store": "^10.0.0",
"electron-updater": "^6.3.4",
"electron-window-state": "^5.0.3",
"fetch-socks": "^1.3.0",
"menubar": "^9.5.0",
"undici": "^6.19.8"
},
"devEngines": {
"node": ">=20.x",
"npm": ">=10.x"
}
}