add build script for binaries

This commit is contained in:
Felix Roos 2022-05-25 21:24:05 +02:00
parent e664834fd9
commit 8c9e178206
4 changed files with 4137 additions and 118 deletions

View file

@ -7,7 +7,8 @@
"test": "echo \"No tests present.\" && exit 0",
"server": "node server.js",
"tidal-sniffer": "node tidal-sniffer.js",
"client": "npx serve -p 4321"
"client": "npx serve -p 4321",
"build": "npx pkg server.js --targets node16-macos-x64,node16-win-x64,node16-linux-x64 --out-path bin"
},
"repository": {
"type": "git",
@ -31,5 +32,8 @@
"homepage": "https://github.com/tidalcycles/strudel#readme",
"dependencies": {
"osc-js": "^2.3.2"
},
"devDependencies": {
"pkg": "^5.7.0"
}
}