diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-15 22:36:35 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-15 22:36:35 +0200 |
commit | a76d1f90a8e4006d2dd842d8028da377e6d0b3ea (patch) | |
tree | 54be33e0a2877e21c2eabcfb110df153fd3c4d67 /bundle/package.json | |
parent | :bug: fix bundle postinstall (diff) | |
download | server-a76d1f90a8e4006d2dd842d8028da377e6d0b3ea.tar.xz |
:bug: build bundle
Diffstat (limited to 'bundle/package.json')
-rw-r--r-- | bundle/package.json | 6 |
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" }, |