-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathpackage.json
119 lines (119 loc) · 2.51 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
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
{
"dependencies": {
"electron-updater": "^6.2.1",
"yt-dlp-wrap-plus": "^2.3.20"
},
"name": "ytdownloader",
"version": "3.18.5",
"main": "main.js",
"scripts": {
"start": "electron .",
"dist": "electron-builder",
"debug": "electron --inspect=5858 .",
"windows": "electron-builder -w",
"linux": "electron-builder -l",
"mac": "electron-builder -m",
"publish-linux": "cp ../ffmpeg-bin/ffmpeg . && electron-builder -l --publish=always",
"publish-windows": "cp ../ffmpeg-bin/ffmpeg.exe . && electron-builder -w --publish=always",
"publish-mac": "cp ../ffmpeg-bin/mac/ffmpeg . && electron-builder -m --publish=always",
"gh-windows": "electron-builder -w --publish=always",
"gh-linux": "electron-builder -l --publish=always",
"gh-mac": "electron-builder -m --publish=always"
},
"author": {
"name": "Andrew",
"email": "aandrew.me@pm.me"
},
"publish": {
"provider": "github",
"owner": "aandrew-me",
"repo": "ytDownloader",
"private": false
},
"license": "GPL-3.0",
"description": "Download videos and audios from YouTube and many other sites",
"devDependencies": {
"electron": "^30.5.1",
"electron-builder": "^24.13.3",
"typescript": "^5.3.3"
},
"build": {
"productName": "YTDownloader",
"appId": "io.github.aandrew_me.ytdn",
"artifactName": "${productName}.${ext}",
"files": [
"./resources/**/*",
"main.js",
"./html/**/*",
"./resources/**/*",
"./public/**/*",
"package.json",
"./assets/**/*",
"./src/*.js",
"ffmpeg*",
"translations"
],
"mac": {
"category": "Utility",
"target": [
"zip",
"dmg"
],
"artifactName": "${productName}_Mac_${arch}.${ext}"
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
],
"sign": false
},
"asar": false,
"directories": {
"buildResources": "resources",
"output": "release"
},
"linux": {
"target": [
"Appimage",
"snap",
"rpm",
"zip",
"deb"
],
"category": "Utility",
"artifactName": "${productName}_Linux.${ext}"
},
"snap": {
"grade": "stable",
"base": "core22"
},
"win": {
"target": [
"nsis",
"msi",
"zip"
],
"artifactName": "${productName}_Win.${ext}"
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false,
"deleteAppDataOnUninstall": true
},
"msi": {
"oneClick": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "YTDownloader"
}
}
}