-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
155 lines (155 loc) · 4.16 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
150
151
152
153
154
155
{
"name": "VDON.Electron.Capture.App",
"version": "2.18.9",
"description": "A simple tool to aid with frameless window video capture and VDO.Ninja publishing",
"author": "Steve Seguin <steve@seguin.email>",
"main": "main.js",
"scripts": {
"start": "electron .",
"build": "run-os",
"build:win32": "electron-builder --win",
"build:darwin": "electron-builder --mac --universal",
"build:linux": "electron-builder --linux",
"build:rpideb": "USE_SYSTEM_FPM=true electron-builder --armv7l --linux deb",
"build:rpi": "electron-builder --armv7l --linux AppImage",
"build:arm64": "electron-builder --arm64 --linux deb rpm AppImage",
"clean": "rimraf ./dist",
"release": "electron-builder --publish always"
},
"repository": {
"type": "git",
"url": "https://github.com/steveseguin/electroncapture.git"
},
"build": {
"appId": "capture.electron",
"productName": "elecap",
"protocols": {
"name": "electroncapture",
"schemes": [
"electroncapture"
]
},
"files": [
"**/*",
"build/Release/*",
"assets/icons/*.*",
"assets/icons/mac/*.*",
"assets/icons/png/*.*",
"assets/icons/win/*.*"
],
"mac": {
"category": "public.build.automation",
"icon": "assets/icons/mac/icon.icns",
"target": [
"dmg",
"zip"
],
"hardenedRuntime": true,
"entitlements": "./build/entitlements.mac.inherit.plist",
"extendInfo": {
"NSCameraUsageDescription": "This app requires camera access to record video.",
"NSMicrophoneUsageDescription": "This app requires microphone access to record audio."
}
},
"dmg": {
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 440,
"y": 150,
"type": "link",
"path": "/Applications"
}
],
"artifactName": "elecap-${version}.${ext}",
"writeUpdateInfo": false
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"ia32",
"x64",
"arm64"
]
}
],
"icon": "assets/icons/win/icon.ico"
},
"linux": {
"category": "public.build.automation",
"icon": "assets/icons/png/256x256.png",
"artifactName": "${productName}-${version}-${arch}.${ext}",
"target": ["AppImage", "deb", "rpm"],
"executableName": "elecap",
"synopsis": "Video Capture Tool",
"description": "A simple tool for frameless window video capture",
"desktop": {
"Name": "EleCap",
"Comment": "Video Capture Tool",
"Categories": "Utility;"
}
},
"nsis": {
"runAfterFinish": true,
"installerIcon": "assets/icons/win/icon.ico",
"artifactName": "elecap-${version}.${ext}",
"differentialPackage": false,
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"include": "installer.nsh"
},
"portable": {
"artifactName": "elecap.exe",
"requestExecutionLevel": "user",
"unpackDirName": true
},
"appx": {
"applicationId": "elecap",
"backgroundColor": "#464646",
"identityName": "elecap",
"publisherDisplayName": "Steve Seguin",
"artifactName": "elecap-${version}.${ext}"
},
"publish": [
{
"provider": "github",
"releaseType": "release"
}
],
"afterSign": "./afterSign.js"
},
"devDependencies": {
"electron": "32.2.3",
"electron-builder": "^24.13.3",
"electron-notarize": "git://github.com/electron/notarize.git",
"rimraf": "^5.0.5",
"run-script-os-fix": "^1.0.4"
},
"dependencies": {
"electron-context-menu": "^3.6.1",
"electron-is-dev": "^3.0.1",
"electron-prompt": "^1.7.0",
"electron-unhandled": "4.0.1",
"minimalist": "^1.0.0",
"minimist": "github:fortiZde/minimist",
"yargs": "^17.7.2",
"electron-is-dev": "^2.0.0",
"electron-squirrel-startup": "^1.0.0"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
}
}