-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 1.39 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
{
"name": "folder-beam-5000",
"version": "1.0.0",
"description": "Beam all the contents of a folder to another computer via hyperbeam",
"main": "index.js",
"author": "Alex McGonagle",
"license": "MIT",
"engines": {
"node": ">=16"
},
"dependencies": {
"archiver": "^5.3.1",
"b4a": "^1.6.0",
"hi-base32": "^0.5.1",
"hyperbeam": "^3.0.0",
"minimist": "^1.2.7",
"progress-stream": "^2.0.0",
"sodium-universal": "^3.1.0",
"unzip-stream": "^0.3.1"
},
"devDependencies": {
"pkg": "^5.8.0"
},
"pkg": {
"assets": [
"node_modules/sodium-native",
"node_modules/udx-native"
]
},
"scripts": {
"buildMacArm": "pkg -t node16-macos-arm64 index.js -c package.json --compress GZip -o './build/folder-beam-mac-arm64'",
"buildMacX64": "pkg -t node16-macos-x64 index.js -c package.json --compress GZip -o './build/folder-beam-mac-x64'",
"buildLinuxArm": "pkg -t node16-linux-arm64 index.js -c package.json --compress GZip -o './build/folder-beam-linux-arm64'",
"buildLinuxX64": "pkg -t node16-linux-x64 index.js -c package.json --compress GZip -o './build/folder-beam-linux-x64'",
"buildWindowsX64": "pkg -t node16-win-x64 index.js -c package.json --compress GZip -o './build/folder-beam-windows-x64.exe'",
"buildAll": "yarn buildMacArm & yarn buildMacX64 & yarn buildLinuxArm & yarn buildLinuxX64 & yarn buildWindowsX64"
}
}