summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-23 16:30:28 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-23 16:30:28 +0200
commit390493b8d47e21ebf07cfff018b10ab2f10bdb52 (patch)
tree79599200b024788ce105daceae41702b5c8b2c2c
parentMerge branch 'master' into unittests (diff)
downloadserver-390493b8d47e21ebf07cfff018b10ab2f10bdb52.tar.xz
:bug: fix install script
Diffstat (limited to '')
-rw-r--r--api/package.json1
-rw-r--r--bundle/package.json4
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",