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"