summary refs log tree commit diff
path: root/api/package.json
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
commitc398c1512e86bccda737fef188e97956b50cdfb5 (patch)
tree170778232ba79da4cdda1b6e6af0c3c07a57a0cc /api/package.json
parent:sparkles: example value in documentation (diff)
downloadserver-c398c1512e86bccda737fef188e97956b50cdfb5.tar.xz
:bug: fix (pre) install scripts
Diffstat (limited to 'api/package.json')
-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"