summary refs log tree commit diff
path: root/bundle/package.json
diff options
context:
space:
mode:
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"
 	},