From 14c3c98630cb5a28ce26046ae741151285ede125 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 1 Mar 2022 12:46:29 -0500 Subject: [PATCH] database package.json fix --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9b3c3ed..7a91f32 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,12 @@ "name": "cr-db", "version": "1.0.0", "description": "Database monorepo for CR microservices", - "main": "index.ts", + "main": "dist/index.js", "author": "Matthew R, AD, FSEN", "license": "MIT", + "scripts": { + "postinstall": "npx tsc -p tsconfig.json" + }, "dependencies": { "@typegoose/typegoose": "^9.4.0", "mongoose": "^6.1.3"