-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 3.01 KB
/
Copy pathpackage.json
File metadata and controls
135 lines (135 loc) · 3.01 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
{
"name": "harmony",
"version": "2.0.3",
"description": "Harmony Desktop App",
"main": "build/index.js",
"type": "module",
"private": true,
"scripts": {
"dev": "NODE_ENV=development bun run build && NODE_ENV=development bun run electron build/index.js",
"dist:dir": "bun run build && bun run electron-builder --dir ",
"dist": "bun run build && bun run electron-builder --publish never",
"release": "bun run build && bun run electron-builder build --publish always",
"release:win": "bun run build && bun run electron-builder build --publish always --win",
"release:linux": "bun run build && bun run electron-builder build --publish always --linux",
"release:mac": "bun run build && bun run electron-builder build --publish always --mac",
"prebuild": "rm -rf build",
"build": "NODE_ENV=production tsc --project tsconfig.json && tsc --project tsconfig.preload.json",
"lint": "bun run lint:biome && bun run lint:tsc",
"lint:biome": "bun biome check --write .",
"lint:tsc": "bun tsc --noEmit",
"start": "NODE_ENV=production bun run build && NODE_ENV=production bun run electron build/index.js"
},
"author": {
"name": "tnfAngel",
"email": "contact@tnfangel.com",
"url": "https://tnfangel.com/"
},
"license": "Apache-2.0",
"homepage": "https://harmony.tnfangel.com",
"dependencies": {
"@tnfangel/discord-rpc-revamp": "^2.0.6",
"electron-log": "^5.4.3",
"electron-updater": "^6.6.2"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/bun": "^1.2.20",
"electron": "^36.8.1",
"electron-builder": "^26.0.12",
"typescript": "^5.9.2"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"build": {
"productName": "Harmony",
"appId": "com.tnfangel.harmony",
"asar": true,
"files": [
"./build/**/*"
],
"generateUpdatesFilesForAllChannels": true,
"protocols": [
{
"name": "Harmony",
"schemes": [
"harmony"
]
}
],
"dmg": {
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
],
"icon": "assets/icon.icns"
},
"mac": {
"icon": "assets/icon.icns",
"target": [
"dmg",
"zip"
]
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
},
{
"target": "rpm",
"arch": [
"x64"
]
}
],
"category": "Utility",
"icon": "assets/icon.icns"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
],
"icon": "assets/icon.ico",
"artifactName": "Harmony Setup ${arch} ${version}.${ext}"
},
"nsis": {
"installerIcon": "assets/icon.ico",
"uninstallerIcon": "assets/icon.ico",
"uninstallDisplayName": "Harmony",
"oneClick": true,
"allowToChangeInstallationDirectory": false,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
}
},
"trustedDependencies": [
"@biomejs/biome",
"electron",
"register-scheme"
]
}