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
commit04072b60e81be9f3fcc53e6804ed9c2fd1b9d77d (patch)
tree9d4d35651c52e847b98275efe2eb438c875bfc69 /bundle/package.json
parent:bug: fix bundle postinstall (diff)
downloadserver-04072b60e81be9f3fcc53e6804ed9c2fd1b9d77d.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"
 	},