From c398c1512e86bccda737fef188e97956b50cdfb5 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 23 Sep 2021 16:03:50 +0200 Subject: :bug: fix (pre) install scripts --- gateway/package-lock.json | 1 + gateway/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'gateway') diff --git a/gateway/package-lock.json b/gateway/package-lock.json index 7b9c8d3a..22401915 100644 --- a/gateway/package-lock.json +++ b/gateway/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "@fosscord/gateway", "version": "1.0.0", + "hasInstallScript": true, "license": "ISC", "dependencies": { "@fosscord/util": "file:../util", diff --git a/gateway/package.json b/gateway/package.json index 595d0205..a845f907 100644 --- a/gateway/package.json +++ b/gateway/package.json @@ -4,7 +4,7 @@ "description": "", "main": "dist/index.js", "scripts": { - "prepare": "ts-patch install -s", + "postinstall": "ts-patch install -s", "test": "echo \"Error: no test specified\" && exit 1", "start": "npm run build && node dist/start.js", "build": "npx tsc -b .", -- cgit 1.5.1