summary refs log tree commit diff
path: root/gateway/package.json
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
commit04355a6661426eaca36200c123c242a64f3540cc (patch)
tree82a6adb95b2d511fc332abdc0b09950982c90f68 /gateway/package.json
parent:arrow_up: update mongoose types (diff)
downloadserver-04355a6661426eaca36200c123c242a64f3540cc.tar.xz
:bug: fix bundle postinstall
Diffstat (limited to 'gateway/package.json')
-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",