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.json9
1 files changed, 2 insertions, 7 deletions
diff --git a/bundle/package.json b/bundle/package.json
index fbb39042..c62d6c53 100644
--- a/bundle/package.json
+++ b/bundle/package.json
@@ -5,13 +5,8 @@
 	"main": "src/start.js",
 	"scripts": {
 		"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 && cd ../bundle/ && npm --production=false i && npm run build",
-		"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": "swc src --out-dir dist",
-		"build:util": "cd ../util/ && npm run build",
-		"build:api": "cd ../api/ && npm run build",
-		"build:cdn": "cd ../cdn/ && npm run build",
-		"build:gateway": "cd ../gateway/ && npm run build",
+		"build": "node scripts/build.js",
+		"build:bundle": "npx swc src --out-dir dist",
 		"start": "npm run build && npm run start:bundle",
 		"start:bundle": "node dist/start.js",
 		"test": "echo \"Error: no test specified\" && exit 1"