summary refs log tree commit diff
path: root/bundle
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-23 16:58:07 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-23 16:58:07 +0200
commit77ac8a96a75f3561c82ab87627812a1e153741f4 (patch)
tree08c4420554b707d7207da6c2a9f15b4fcdf87e61 /bundle
parent:bug: fix install script (diff)
downloadserver-77ac8a96a75f3561c82ab87627812a1e153741f4.tar.xz
:bug: prepare/postinstall only works for packages not local npm install
Diffstat (limited to 'bundle')
-rw-r--r--bundle/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle/package.json b/bundle/package.json
index dfe892a4..722d2255 100644
--- a/bundle/package.json
+++ b/bundle/package.json
@@ -4,7 +4,7 @@
 	"description": "",
 	"main": "src/start.js",
 	"scripts": {
-		"prepare": "cd ../util && npm --production=false i && cd ../api && npm --production=false i && cd ../cdn && npm --production=false i && cd ../gateway && npm --production=false i",
+		"setup": "cd ../util && npm --production=false i && cd ../api && npm --production=false i && cd ../cdn && npm --production=false i && cd ../gateway && npm --production=false i && npm install && npm run start",
 		"build": "npm run build:util && npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle",
 		"postinstall": "ts-patch install -s",
 		"build:bundle": "npx tsc -b .",