-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.43 KB
/
Copy pathpackage.json
File metadata and controls
101 lines (101 loc) · 2.43 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
{
"name": "treemap",
"version": "2.0.0",
"description": "TreeMap — a GrandPerspective-style disk space visualizer for macOS, Linux and Windows",
"author": "Prithvi-Web",
"main": "electron/main.js",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc",
"start": "node dist/index.js",
"test": "tsx --test tests/*.test.ts",
"typecheck": "tsc --noEmit",
"app": "npm run build && electron .",
"dist": "npm run build && electron-builder",
"dist:mac": "npm run build && electron-builder --mac",
"dist:win": "npm run build && electron-builder --win",
"dist:linux": "npm run build && electron-builder --linux"
},
"engines": {
"node": ">=20"
},
"license": "MIT",
"dependencies": {
"electron-updater": "^6.3.9",
"express": "^5.1.0",
"pdfmake": "^0.2.23",
"sharp": "^0.35.2"
},
"devDependencies": {
"@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"
],
"asarUnpack": [
"**/node_modules/sharp/**",
"**/node_modules/@img/**",
"**/node_modules/@foliojs-fork/**"
],
"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"
],
"icon": "build/icon.png"
},
"linux": {
"target": [
"AppImage"
],
"category": "Utility",
"icon": "build/icon.png"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
}
}