-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 1.85 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 1.85 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
{
"name": "smartvest-app",
"private": true,
"version": "1.0.0",
"type": "module",
"main": "electron/main.cjs",
"author": {
"name": "SmartVest User",
"email": "user@example.com"
},
"description": "SmartVest 存股記帳工具",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"electron:dev": "concurrently -k \"cross-env BROWSER=none npm run dev\" \"wait-on tcp:5173 && electron .\"",
"electron:build": "npm run build && electron-builder"
},
"dependencies": {
"@capacitor/core": "^5.7.0",
"@capacitor/filesystem": "^5.2.0",
"@capacitor/ios": "^5.7.0",
"@capacitor/preferences": "^5.0.7",
"lucide-react": "^0.344.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"recharts": "^2.12.2"
},
"devDependencies": {
"@capacitor/cli": "^5.7.0",
"@types/react": "^18.2.64",
"@types/react-dom": "^18.2.21",
"@vitejs/plugin-react": "^4.2.1",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"electron": "^29.1.0",
"electron-builder": "^24.13.3",
"typescript": "^5.2.2",
"vite": "^5.1.6",
"wait-on": "^7.2.0"
},
"build": {
"appId": "com.smartvest.app",
"productName": "SmartVest",
"directories": {
"output": "dist-electron"
},
"files": [
"dist/**/*",
"electron/**/*"
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "public/vite.svg"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
},
"mac": {
"target": "dmg"
},
"linux": {
"target": "AppImage"
}
}
}