diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-07 18:21:17 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-07 18:21:17 +0200 |
commit | 1bef11aaaa23334df105b8e62cf919194a59dc43 (patch) | |
tree | 96ed878170cb5b52c532f9ed7d392551cce21a9f /bundle/package.json | |
parent | :zap: fast build script (diff) | |
download | server-1bef11aaaa23334df105b8e62cf919194a59dc43.tar.xz |
:bug: fix swc config
Diffstat (limited to 'bundle/package.json')
-rw-r--r-- | bundle/package.json | 9 |
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" |