summary refs log tree commit diff
path: root/bundle/package.json
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 22:36:35 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 22:36:35 +0200
commita76d1f90a8e4006d2dd842d8028da377e6d0b3ea (patch)
tree54be33e0a2877e21c2eabcfb110df153fd3c4d67 /bundle/package.json
parent:bug: fix bundle postinstall (diff)
downloadserver-a76d1f90a8e4006d2dd842d8028da377e6d0b3ea.tar.xz
:bug: build bundle
Diffstat (limited to 'bundle/package.json')
-rw-r--r--bundle/package.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/bundle/package.json b/bundle/package.json
index d41329f2..1e6c95c5 100644
--- a/bundle/package.json
+++ b/bundle/package.json
@@ -5,7 +5,11 @@
 	"main": "src/start.js",
 	"scripts": {
 		"postinstall": "cd ../util && npm i && cd ../api && npm i && cd ../cdn && npm i && cd ../gateway && npm i",
-		"build": "npx tsc -b .",
+		"build": "npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle",
+		"build:bundle": "npx tsc -b .",
+		"build:api": "cd ../api/ && npm run build",
+		"build:cdn": "cd ../cdn/ && npm run build",
+		"build:gateway": "cd ../gateway/ && npm run build",
 		"start": "npm run build && node dist/start.js",
 		"test": "echo \"Error: no test specified\" && exit 1"
 	},