-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 2.77 KB
/
package.json
File metadata and controls
116 lines (116 loc) · 2.77 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
{
"name": "rtmp-overlay-server",
"version": "1.1.0",
"description": "RTMP Overlay server for adding dynamic overlays to RTMP streams using templates and Companion integration",
"main": "dist/main/index.js",
"scripts": {
"build": "tsc",
"build:companion": "cd companion-module && npm run build",
"start": "npm run build && electron .",
"dev": "tsc && electron .",
"package": "npm run build && npm run build:companion && electron-builder --mac --win",
"package:win": "npm run build && npm run build:companion && electron-builder --win",
"package:mac": "npm run build && npm run build:companion && electron-builder --mac",
"package:portable": "npm run build && npm run build:companion && electron-builder --win portable"
},
"author": "Daniel Sörlöv",
"license": "MIT",
"devDependencies": {
"@types/node": "^20.11.0",
"electron": "^33.0.0",
"electron-builder": "^25.0.0",
"typescript": "^5.5.0"
},
"dependencies": {
"@fastify/cors": "^10.0.0",
"@fastify/static": "^8.0.0",
"fastify": "^5.0.0",
"node-media-server": "^2.7.4"
},
"build": {
"appId": "com.rtmp-overlay-server.app",
"productName": "RTMP Overlay Server",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"src/overlay/**/*",
"src/renderer/**/*",
"templates/**/*",
"config/**/*",
"assets/**/*"
],
"extraResources": [
{
"from": "ffmpeg/",
"to": "ffmpeg",
"filter": [
"**/*"
]
},
{
"from": "templates/",
"to": "templates",
"filter": [
"**/*"
]
},
{
"from": "config/",
"to": "config",
"filter": [
"**/*"
]
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "assets/icon.png"
},
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
],
"icon": "assets/icon.png",
"category": "public.app-category.video",
"gatekeeperAssess": false
},
"dmg": {
"artifactName": "rtmp-overlay-server-${version}-${arch}.${ext}",
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"include": "build/installer.nsh",
"artifactName": "rtmp-overlay-server-${version}.${ext}"
}
}
}