-
-
Notifications
You must be signed in to change notification settings - Fork 515
/
package.json
149 lines (149 loc) · 3.74 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
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
{
"name": "m3u8-downloader",
"productName": "M3U8-Downloader",
"version": "2.1.0",
"description": "M3U8-Downloader,用于下载主流网站的视频和直播。",
"main": "main.js",
"dependencies": {
"aria2": "^4.1.2",
"async": "^3.2.4",
"crypto-js": "^4.1.1",
"dateformat": "^5.0.3",
"download": "^8.0.0",
"electron-context-menu": "^3.6.0",
"electron-is-dev": "^2.0.0",
"ffmpeg-static": "^5.1.0",
"fluent-ffmpeg": "^2.1.2",
"forever-monitor": "^3.0.3",
"got": "11.8.3",
"hpagent": "^1.2.0",
"http": "0.0.0",
"https": "^1.0.0",
"m3u8-parser": "^6.0.0",
"nconf": "^0.12.0",
"queue": "^6.0.2",
"url": "^0.11.0",
"winston": "^3.8.2",
"filenamify": "4.3.0"
},
"devDependencies": {
"electron": "^22.0.0",
"electron-builder": "^23.6.0"
},
"scripts": {
"start": "electron .",
"pack-mac": "electron-builder --mac --publish always",
"pack-win": "electron-builder --win --publish always",
"postinstall": "electron-builder install-app-deps",
"pack-linux": "electron-builder --linux --publish always",
"windows-latest": "yarn pack-win",
"macos-latest": "yarn pack-mac",
"ubuntu-latest": "yarn pack-linux"
},
"build": {
"appId": "cn.heisir.m3u8-downloader",
"artifactName": "${productName}-${os}_${arch}-${version}.${ext}",
"copyright": "Copyright © 2021 ${author}",
"compression": "normal",
"directories": {
"output": "dist"
},
"files": [
"**/*",
"!dist/*",
"!.github/*",
"!test/*",
"!README.md",
"!node_modules/ffmpeg-static/ffmpeg.exe",
"!node_modules/ffmpeg-static/ffmpeg",
"!node_modules/ffmpeg-static/ffmpeg.ffmpeg",
"!static/aria2/*"
],
"asar": true,
"win": {
"target": [{
"target": "nsis"
},
{
"target": "zip",
"arch": [
"x64",
"ia32"
]
}
],
"extraResources": [
"node_modules/ffmpeg-static/ffmpeg.exe",
"static/aria2/win32/aria2.conf",
"static/aria2/win32/aria2c.exe"
],
"icon": "static/icon/logo-512.png"
},
"dmg": {
"window": {
"width": 540,
"height": 380
},
"contents": [{
"x": 410,
"y": 230,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 230,
"type": "file"
}
]
},
"mac": {
"hardenedRuntime": true,
"appId": "cn.heisir.m3u8-downloader-mac",
"category": "public.app-category.productivity",
"target": [
"dmg"
],
"extraResources": [
"node_modules/ffmpeg-static/ffmpeg",
"static/aria2/darwin/aria2.conf",
"static/aria2/darwin/aria2c"
],
"icon": "static/icon/logo.icns"
},
"nsis": {
"perMachine": true,
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"installerIcon": "static/icon/logo.ico",
"uninstallerIcon": "static/icon/logo.ico",
"installerHeaderIcon": "static/icon/logo.ico",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "M3U8-Downloader"
},
"appImage": {
"category": "public.app-category.productivity"
},
"linux": {
"extraResources": [
"node_modules/ffmpeg-static/ffmpeg",
"static/aria2/linux/aria2.conf",
"static/aria2/linux/aria2c"
],
"target": [
"AppImage",
"deb"
],
"maintainer": "heisir <[email protected]>",
"category": "Utility"
}
},
"author": {
"name": "heisir",
"email": "[email protected]",
"qq": "1586462"
},
"license": "MIT"
}