-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 2.47 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
{
"name": "LocalTube",
"version": "1.0.1",
"author": {
"name": "Atm4x"
},
"description": "",
"main": "main.js",
"fileAssociations": [
{
"ext": [
"mp4",
"mkv",
"webm",
"avi"
],
"name": "Video",
"description": "Video File",
"role": "Viewer"
}
],
"scripts": {
"start": "set NODE_ENV=development&& electron .",
"build": "set NODE_ENV=production&& electron-builder --win --x64"
},
"keywords": [],
"license": "ISC",
"devDependencies": {
"electron": "^31.4.0",
"electron-builder": "^25.1.8",
"music-metadata": "^10.2.0"
},
"dependencies": {
"@electron/remote": "^2.1.2",
"@ffmpeg-installer/ffmpeg": "^1.1.0",
"ffmetadata": "^1.7.0",
"ffmpeg-installer": "^1.0.2",
"ffmpeg-static": "^5.2.0",
"ffprobe-static": "^3.1.0",
"fluent-ffmpeg": "^2.1.3",
"moment": "^2.30.1",
"mp4box": "^0.5.2",
"node-fetch": "^2.6.7",
"node-ffmpeg-installer": "^1.1.2",
"plyr": "^3.7.8",
"winreg": "^1.2.5"
},
"build": {
"appId": "com.localtube.app",
"productName": "LocalTube",
"directories": {
"output": "dist"
},
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64"]
}
],
"icon": "./assets/icon.ico"
},
"asar": true,
"asarUnpack": [
"downloads/**/*",
"node_modules/ffmpeg-static/**/*",
"node_modules/ffprobe-static/**/*"
],
"files": [
"**/*",
"!downloads/**/*",
"!dist/**/*",
"!build/**/*"
],
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "LocalTube",
"uninstallDisplayName": "LocalTube",
"deleteAppDataOnUninstall": false
},
"msi": {
"oneClick": false,
"perMachine": true,
"additionalWixArgs": [
"-preserve", "downloads"
]
},
"extraResources": [
{
"from": "node_modules/ffmpeg-static/ffmpeg.exe",
"to": "ffmpeg.exe"
},
{
"from": "node_modules/ffprobe-static/bin/win32/x64/ffprobe.exe",
"to": "ffprobe.exe"
},
{
"from": "assets/",
"to": "assets/"
},
{
"from": "assets/icon.ico",
"to": "assets/icon.ico"
},
{
"from": "default-thumbnail.jpg",
"to": "default-thumbnail.jpg"
}
]
}
}