-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.83 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
{
"name": "census-app",
"version": "1.0.0",
"description": "A demo app for visualizing population growth metrics",
"author": "Your Name <[email protected]>",
"homepage": "https://yourdomain.com/census-app",
"license": "MIT",
"private": true,
"main": "dist/electron/main.js",
"scripts": {
"clean": "rimraf dist",
"dev": "next dev",
"start": "next start",
"start-static": "serve out",
"start:electron": "electron .",
"build": "npm run clean && npm run build:next && npm run build:electron",
"build:next": "next build",
"build:electron": "tsc -p tsconfig.electron.json && npm run build:parallel",
"build:parallel": "concurrently \"npm run build:mac\" \"npm run build:win\" \"npm run build:linux\"",
"build:mac": "electron-builder --mac --config.directories.output=dist/mac",
"build:win": "electron-builder --win --config.directories.output=dist/win",
"build:linux": "electron-builder --linux --config.directories.output=dist/linux",
"build:start": "npm run build:next && npm run build:electron && electron .",
"electron:compile": "tsc -p tsconfig.electron.json",
"electron:dev": "cross-env NODE_ENV=development concurrently \"pnpm run dev\" \"wait-on http://localhost:3000 && electron .\""
},
"dependencies": {
"@mantine/charts": "^7.13.1",
"@mantine/core": "^7.13.1",
"@mantine/dates": "^7.13.1",
"@mantine/form": "^7.13.1",
"@mantine/hooks": "^7.13.1",
"@mantine/modals": "^7.13.1",
"@mantine/notifications": "^7.13.1",
"@tabler/icons-react": "^3.19.0",
"dayjs": "^1.11.13",
"next": "~14.2.13",
"react": "~18.3.1",
"react-dom": "~18.3.1",
"recharts": "^2.12.7",
"serve": "^14.2.3"
},
"devDependencies": {
"@types/node": "^22.7.4",
"@types/react": "^18.3.10",
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"electron": "^32.1.2",
"electron-builder": "^25.0.5",
"electron-is-dev": "^3.0.1",
"electron-updater": "^6.3.4",
"postcss": "^8.4.47",
"postcss-preset-mantine": "^1.17.0",
"postcss-simple-vars": "^7.0.1",
"rimraf": "^6.0.1",
"sass": "^1.79.4",
"typescript": "^5.6.2",
"wait-on": "^8.0.1"
},
"build": {
"appId": "com.yourdomain.censusapp",
"files": [
"out/**/*",
"dist/electron/**/*",
"electron/**/*",
"package.json",
"LICENSE"
],
"directories": {
"buildResources": "electron/build"
},
"mac": {
"target": "dmg"
},
"win": {
"target": "nsis"
},
"linux": {
"target": [
"AppImage",
"deb"
]
},
"extraResources": [
{
"from": "./LICENSE",
"to": "LICENSE"
}
]
},
"packageManager": "[email protected]+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b"
}