summary refs log tree commit diff
path: root/gateway
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 22:32:57 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 22:32:57 +0200
commit0639b6176fef86e3c467cfcdc393fa99f68086f5 (patch)
tree2b01c393fb4f3c742d3d040f6d7f724b5009e639 /gateway
parent:arrow_up: update mongoose types (diff)
downloadserver-0639b6176fef86e3c467cfcdc393fa99f68086f5.tar.xz
:bug: fix bundle postinstall
Diffstat (limited to 'gateway')
-rw-r--r--gateway/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/gateway/package.json b/gateway/package.json
index ba07e7ee..a5b9e547 100644
--- a/gateway/package.json
+++ b/gateway/package.json
@@ -4,6 +4,7 @@
 	"description": "",
 	"main": "dist/index.js",
 	"scripts": {
+		"postinstall": "npm run build",
 		"test": "echo \"Error: no test specified\" && exit 1",
 		"start": "npm run build && node dist/start.js",
 		"build": "npx tsc -b .",
@@ -16,7 +17,6 @@
 		"@types/amqplib": "^0.8.1",
 		"@types/jsonwebtoken": "^8.5.0",
 		"@types/mongodb": "^3.6.9",
-		"@types/mongoose": "^5.10.5",
 		"@types/mongoose-autopopulate": "^0.10.1",
 		"@types/mongoose-lean-virtuals": "^0.5.1",
 		"@types/node": "^14.17.9",