Removed executable, added 'npm start' script.

merge-requests/1/merge
knotteye 2019-09-22 17:12:49 -05:00
parent 935b850bcd
commit fcff93c533
3 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,9 @@
"description": "A livestreaming server.", "description": "A livestreaming server.",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"author": "knotteye", "author": "knotteye",
"scripts": {
"start": "node build/controller.js"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://gitlab.com/knotteye/satyr.git" "url": "https://gitlab.com/knotteye/satyr.git"

3
satyr
View File

@ -1,3 +0,0 @@
#!/usr/bin/env node
const satyr = require("./build/controller");
satyr.boot();

View File

@ -40,4 +40,5 @@ function boot(): void{
mediaserver.boot(mediaconfig); mediaserver.boot(mediaconfig);
ircd.boot(); ircd.boot();
} }
boot();
export { boot }; export { boot };