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",
|