Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
174 lines (174 loc) · 5.74 KB
/
Copy pathpackage.json
File metadata and controls
174 lines (174 loc) · 5.74 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
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
{
"name": "treemap",
"version": "5.2.0",
"nativeVersion": "0.6.0",
"description": "See exactly what's eating your disk — a desktop app for macOS and Windows, web mode on Linux, and an MCP server so AI agents can use it too",
"author": {
"name": "Prithvi Vinay",
"url": "https://github.com/Prithvi-Web"
},
"homepage": "https://github.com/Prithvi-Web/TreeMap-Disk-Visualizer#readme",
"repository": {
"type": "git",
"url": "https://github.com/Prithvi-Web/TreeMap-Disk-Visualizer.git"
},
"bugs": {
"url": "https://github.com/Prithvi-Web/TreeMap-Disk-Visualizer/issues"
},
"keywords": [
"disk-space",
"disk-usage",
"treemap",
"duplicate-finder",
"electron",
"mcp",
"macos",
"windows"
],
"main": "electron/main.js",
"scripts": {
"dev": "tsx watch src/index.ts",
"build:ui": "node scripts/build-ui.js",
"build": "node scripts/build-ui.js && tsc && node scripts/copy-assets.js",
"start": "node dist/index.js",
"test": "node scripts/run-tests.js --test-timeout=1200000",
"typecheck": "tsc --noEmit && tsc -p tsconfig.tests.json && tsc -p bench/tsconfig.json",
"build:native": "node scripts/build-native.js",
"test:native": "cargo test --manifest-path native/treemap-core/Cargo.toml --workspace",
"capabilities:report": "tsx scripts/report-capabilities.ts",
"bench:v4": "tsx scripts/bench-v4.ts",
"bench": "tsx bench/run.ts",
"mcp": "tsx src/mcp/index.ts",
"app": "npm run build && electron .",
"dist": "npm run build && npm run fetch:gdu && npm run build:native && node scripts/check-prebuilt.js && electron-builder --publish never",
"dist:mac": "npm run build && npm run fetch:gdu && npm run build:native && node scripts/check-prebuilt.js --target darwin && electron-builder --mac --publish never",
"dist:win": "npm run build && npm run fetch:gdu && npm run build:native && node scripts/check-prebuilt.js --target win32-x64 && electron-builder --win --x64 --publish never",
"dist:linux": "npm run build && npm run fetch:gdu && npm run build:native && node scripts/check-prebuilt.js --target linux && electron-builder --linux --publish never",
"fetch:gdu": "node scripts/fetchGdu.js",
"fetch:gdu:dev": "node scripts/fetchGdu.js --dev",
"dist:portable-mac": "npm run build && npm run fetch:gdu && npm run build:native && node scripts/check-prebuilt.js --target darwin && electron-builder --mac zip --config.artifactName='TreeMap-Portable-${version}-${arch}.${ext}' --publish never && node scripts/mark-portable.js",
"dist:portable-win": "npm run build && npm run fetch:gdu && npm run build:native && node scripts/check-prebuilt.js --target win32-x64 && electron-builder --win portable --x64 --publish never",
"dist:portable-linux": "npm run build && npm run fetch:gdu && npm run build:native && node scripts/check-prebuilt.js --target linux && electron-builder --linux AppImage --config.artifactName='TreeMap-Portable-${version}-${arch}.${ext}' --publish never && node scripts/mark-portable.js",
"fleet:acceptance": "npm run build && node scripts/fleet-acceptance.js"
},
"engines": {
"node": ">=20"
},
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
"better-sqlite3": "^11.10.0",
"electron-updater": "^6.3.9",
"exceljs": "^4.4.0",
"express": "^5.1.0",
"pdfmake": "^0.2.23",
"sharp": "^0.35.2",
"zod": "^4.4.3"
},
"overrides": {
"exceljs": {
"uuid": "^11.1.1"
}
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/express": "^5.0.0",
"@types/node": "^20.17.0",
"@types/pdfmake": "^0.3.3",
"electron": "^31.7.0",
"electron-builder": "^24.13.3",
"tsx": "^4.19.0",
"typescript": "^5.6.0"
},
"build": {
"appId": "com.prithviweb.treemap",
"productName": "TreeMap",
"afterPack": "scripts/afterPack.js",
"directories": {
"output": "release",
"buildResources": "build"
},
"files": [
"dist/**/*",
"public/**/*",
"electron/**/*",
"package.json",
"native/prebuilt/**"
],
"asarUnpack": [
"**/node_modules/sharp/**",
"**/node_modules/@img/**",
"**/node_modules/@foliojs-fork/**",
"native/prebuilt/**"
],
"publish": {
"provider": "github",
"owner": "Prithvi-Web",
"repo": "TreeMap-Disk-Visualizer"
},
"mac": {
"target": [
"dmg",
"zip"
],
"category": "public.app-category.utilities",
"icon": "build/icon.png",
"darkModeSupport": true,
"extendInfo": {
"CFBundleDocumentTypes": [
{
"CFBundleTypeName": "Folder",
"CFBundleTypeRole": "Viewer",
"LSItemContentTypes": [
"public.folder"
],
"LSHandlerRank": "Alternate"
}
]
}
},
"win": {
"target": [
"nsis",
"portable"
],
"icon": "build/icon.png"
},
"linux": {
"target": [
"AppImage"
],
"category": "Utility",
"icon": "build/icon.png"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"portable": {
"artifactName": "${productName}-${version}.${ext}"
},
"extraResources": [
{
"from": "build/gdu/${os}-${arch}",
"to": "gdu",
"filter": [
"**/*"
]
},
{
"from": "build/gdu/LICENSE.md",
"to": "gdu/LICENSE.md"
},
{
"from": "build/gdu/THIRD_PARTY_NOTICES.txt",
"to": "gdu/THIRD_PARTY_NOTICES.txt"
},
{
"from": "native/THIRD_PARTY_NOTICES.txt",
"to": "THIRD_PARTY_NOTICES.txt"
}
]
}
}