summary refs log tree commit diff
path: root/bundle/package.json
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
commitc571d989e89f4f47059e4b013324fd2c8d049d14 (patch)
tree94eddae38c87522d56a5a08e4172aed4971c2320 /bundle/package.json
parent:bug: fix install script (diff)
downloadserver-c571d989e89f4f47059e4b013324fd2c8d049d14.tar.xz
:bug: prepare/postinstall only works for packages not local npm install
Diffstat (limited to 'bundle/package.json')
-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 .",