From 390493b8d47e21ebf07cfff018b10ab2f10bdb52 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 23 Sep 2021 16:30:28 +0200 Subject: [PATCH] :bug: fix install script --- api/package.json | 1 - bundle/package.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/api/package.json b/api/package.json index 580cfa2a..cc47a45a 100644 --- a/api/package.json +++ b/api/package.json @@ -5,7 +5,6 @@ "main": "dist/Server.js", "types": "dist/Server.d.ts", "scripts": { - "prepare": "", "test:only": "jest --coverage --verbose --forceExit ./tests", "test": "npm run build && npm run test:only", "test:watch": "jest --watch", diff --git a/bundle/package.json b/bundle/package.json index c2b6851e..dfe892a4 100644 --- a/bundle/package.json +++ b/bundle/package.json @@ -4,9 +4,9 @@ "description": "", "main": "src/start.js", "scripts": { - "prepare": "ts-patch install -s", - "preinstall": "cd ../util && npm --production=false i && cd ../api && npm --production=false i && cd ../cdn && npm --production=false i && cd ../gateway && npm --production=false i", + "prepare": "cd ../util && npm --production=false i && cd ../api && npm --production=false i && cd ../cdn && npm --production=false i && cd ../gateway && npm --production=false i", "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": "npx tsc -b .", "build:util": "cd ../util/ && npm run build", "build:api": "cd ../api/ && npm run build",