-
Notifications
You must be signed in to change notification settings - Fork 133
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.3 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 2.3 KB
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
{
"name": "wechat-bill-analyzer",
"version": "1.0.0",
"description": "微信账单分析工具 - 基于Electron框架的可视化账单分析应用",
"main": "main.js",
"scripts": {
"dev": "vite",
"build:renderer": "vite build",
"start": "npm run build:renderer && electron .",
"build": "npm run build:renderer && electron-builder",
"build:win": "npm run build:renderer && electron-builder --win",
"build:mac": "npm run build:renderer && electron-builder --mac",
"build:linux": "npm run build:renderer && electron-builder --linux",
"pack": "electron-packager . 微信账单分析工具 --platform=win32 --arch=x64 --out=release --overwrite --icon=assets/icon.ico",
"audit": "npm audit",
"audit:ci": "npm audit --omit=dev --audit-level=high",
"test": "node --test",
"typecheck": "tsc --noEmit"
},
"keywords": [
"wechat",
"bill",
"analyzer",
"electron",
"微信账单",
"数据分析"
],
"author": "Your Name",
"license": "MIT",
"devDependencies": {
"electron": "^28.0.0",
"electron-builder": "^24.9.1",
"electron-packager": "^17.1.2",
"typescript": "^5.9.3",
"vite": "^5.4.21"
},
"dependencies": {
"chart.js": "^4.4.1",
"iconv-lite": "^0.6.3",
"xlsx": "^0.18.5"
},
"build": {
"appId": "com.wechat.bill.analyzer",
"productName": "微信账单分析工具",
"directories": {
"output": "release"
},
"files": [
"**/*",
"!**/*.md",
"!release"
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "assets/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"perMachine": false,
"allowElevation": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "微信账单分析工具"
},
"mac": {
"target": [
"dmg"
],
"icon": "assets/icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"linux": {
"target": [
"AppImage"
],
"icon": "assets/icon.png"
}
}
}