summary refs log tree commit diff
path: root/api
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-23 16:03:50 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-23 16:03:50 +0200
commit053fa4b4998ef10c1c2d7ceb3e6a24164562d343 (patch)
tree4d283abf1fcd16494b4da9cf7634a8fd66e4089d /api
parent:sparkles: example value in documentation (diff)
downloadserver-053fa4b4998ef10c1c2d7ceb3e6a24164562d343.tar.xz
:bug: fix (pre) install scripts
Diffstat (limited to 'api')
-rw-r--r--api/package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/package.json b/api/package.json
index a1d3b5b2..580cfa2a 100644
--- a/api/package.json
+++ b/api/package.json
@@ -5,7 +5,7 @@
 	"main": "dist/Server.js",
 	"types": "dist/Server.d.ts",
 	"scripts": {
-		"prepare": "ts-patch install -s",
+		"prepare": "",
 		"test:only": "jest --coverage --verbose --forceExit ./tests",
 		"test": "npm run build && npm run test:only",
 		"test:watch": "jest --watch",
@@ -13,7 +13,7 @@
 		"build": "npx tsc -b .",
 		"build-docker": "tsc -p tsconfig-docker.json",
 		"dev": "tsnd --respawn src/start.ts",
-		"patch": "npx patch-package",
+		"patch": "ts-patch install -s && npx patch-package",
 		"postinstall": "npm run patch",
 		"generate:docs": "node scripts/generate_openapi.ts",
 		"generate:schema": "node scripts/generate_schema.ts"