summary refs log tree commit diff
path: root/gateway
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 /gateway
parent:sparkles: example value in documentation (diff)
downloadserver-053fa4b4998ef10c1c2d7ceb3e6a24164562d343.tar.xz
:bug: fix (pre) install scripts
Diffstat (limited to 'gateway')
-rw-r--r--gateway/package-lock.json1
-rw-r--r--gateway/package.json2
2 files changed, 2 insertions, 1 deletions
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 .",