summary refs log tree commit diff
path: root/cdn
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 /cdn
parent:arrow_up: update mongoose types (diff)
downloadserver-0639b6176fef86e3c467cfcdc393fa99f68086f5.tar.xz
:bug: fix bundle postinstall
Diffstat (limited to 'cdn')
-rw-r--r--cdn/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdn/package.json b/cdn/package.json
index 0c8e872c..190a80a3 100644
--- a/cdn/package.json
+++ b/cdn/package.json
@@ -5,6 +5,7 @@
 	"main": "dist/index.js",
 	"types": "dist/index.d.ts",
 	"scripts": {
+		"postinstall": "npm run build",
 		"test": "echo \"Error: no test specified\" && exit 1",
 		"build": "npx tsc -b .",
 		"start": "npm run build && node dist/start.js"
@@ -29,7 +30,6 @@
 		"@types/fs-extra": "^9.0.12",
 		"@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/multer": "^1.4.7",