Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.93 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.93 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
{
"name": "disk-oh",
"version": "0.1.0",
"description": "Modern disk space analyzer for Windows",
"author": "BeardedTech",
"main": "dist/main/main.js",
"type": "module",
"scripts": {
"dev": "vite",
"build": "npm run build:main && npm run build:renderer",
"build:main": "esbuild src/main/main.ts src/main/ipc-handlers.ts src/main/scanner.ts src/main/updater.ts src/main/drive-utils.ts src/main/file-ops.ts src/main/smoke-tests.ts --outdir=dist/main --platform=node --format=esm --bundle --external:electron --external:fs --external:fs/promises --external:path --external:url --external:child_process --external:os --external:util --external:stream --external:buffer --external:crypto --external:https --external:http --external:zlib --external:events --external:assert --external:net --external:process --external:graceful-fs --external:fs-extra --external:electron-updater && esbuild src/main/preload.ts --outfile=dist/main/preload.js --platform=node --format=cjs --bundle --external:electron",
"build:renderer": "vite build",
"test": "node --test src/main/smoke-tests.ts",
"preview": "vite preview",
"electron-dev": "npm run build:main && electron .",
"electron-build": "npm run build && electron .",
"dist": "npm run build && electron-builder",
"dist:win": "npm run build && electron-builder --win"
},
"dependencies": {
"electron-updater": "^6.1.0",
"lucide-react": "^0.263.1",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"recharts": "^2.10.0",
"tailwindcss": "^3.4.0"
},
"devDependencies": {
"@tauri-apps/cli": "^2.2.0",
"@types/node": "^20.10.0",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.16",
"electron": "^30.0.0",
"electron-builder": "^24.9.0",
"esbuild": "^0.28.1",
"postcss": "^8.4.31",
"typescript": "^5.3.3",
"vite": "^5.0.7"
},
"build": {
"appId": "io.diskoh.app",
"productName": "DiskOH",
"directories": {
"buildResources": "public/icons",
"output": "dist"
},
"files": [
"dist/main/**/*",
"dist/renderer/**/*",
"package.json"
],
"win": {
"icon": "public/icons/icon-256.ico",
"requestedExecutionLevel": "requireAdministrator",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"certificateFile": null,
"certificatePassword": null,
"signingHashAlgorithms": [
"sha256"
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"allowElevation": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "DiskOH",
"installerIcon": "public/icons/installer-icon.ico",
"uninstallerIcon": "public/icons/uninstaller-icon.ico",
"installerHeaderIcon": "public/icons/installer-header.ico"
}
}
}