diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 20:53:29 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 20:53:29 +0200 |
commit | b6fbcf1c4f6e75120518b9e3b947447cdb698654 (patch) | |
tree | 9205fb0054ba240bd012254ad9f0616ca3e5c8a9 /bundle/package.json | |
parent | :bug: fix types + packages (diff) | |
download | server-b6fbcf1c4f6e75120518b9e3b947447cdb698654.tar.xz |
:bug: fix dependencies and build for bundle
Diffstat (limited to 'bundle/package.json')
-rw-r--r-- | bundle/package.json | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/bundle/package.json b/bundle/package.json index a3478e03..56ef9591 100644 --- a/bundle/package.json +++ b/bundle/package.json @@ -4,9 +4,12 @@ "description": "", "main": "src/start.js", "scripts": { - "linkInstall": "npm run --prefix ../util/ link && npm run --prefix ../api/ link && npm run --prefix ../cdn/ link && npm run --prefix ../gateway/ link", - "postinstall": "npm run linkInstall && npm link @fosscord/util && npm link @fosscord/api && npm link @fosscord/gateway && npm link @fosscord/cdn", - "build": "tsc -b .", + "postinstall": "cd ../api/ && npm i && cd ../cdn/ && npm i && cd ../gateway/ && npm i && ", + "build": "npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle", + "build:bundle": "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" }, @@ -21,14 +24,12 @@ "url": "https://github.com/fosscord/fosscord-server/issues" }, "homepage": "https://fosscord.com", - "devDependencies": { + "dependencies": { "@types/async-exit-hook": "^2.0.0", "@types/express": "^4.17.13", - "@types/node": "^16.6.1", "@types/node-os-utils": "^1.2.0", - "typescript": "^4.3.5" - }, - "dependencies": { + "typescript": "^4.3.5", + "@types/node": "^16.6.1", "@fosscord/api": "file:../api", "@fosscord/cdn": "file:../cdn", "@fosscord/gateway": "file:../gateway", |