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 | 04072b60e81be9f3fcc53e6804ed9c2fd1b9d77d (patch) | |
tree | 9d4d35651c52e847b98275efe2eb438c875bfc69 /bundle | |
parent | :bug: fix bundle postinstall (diff) | |
download | server-04072b60e81be9f3fcc53e6804ed9c2fd1b9d77d.tar.xz |
:bug: build bundle
Diffstat (limited to 'bundle')
-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" }, |