diff --git a/package.json b/package.json index eedbca4..16eaed8 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "name": "@togethercrew.dev/db", - "version": "2.4.0", + "version": "2.4.1", "description": "All interactions with DB", "main": "./dist/index.js", + "types": "./dist/index.d.ts", "scripts": { "build": "tsc", "start": "node ./dist/index.js", diff --git a/tsconfig.json b/tsconfig.json index 3c54e4c..b623898 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,11 +3,21 @@ "target": "es2016", "module": "commonjs", "outDir": "./dist", + "declaration": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, "skipLibCheck": true }, - "include": ["./src/**/*", "./__test__/**/*", ".eslintrc.json", "jest.config.ts"], - "exclude": ["./__test__/**/*", ".eslintrc.json", "jest.config.ts"] -} + "include": [ + "./src/**/*", + "./__test__/**/*", + ".eslintrc.json", + "jest.config.ts" + ], + "exclude": [ + "./__test__/**/*", + ".eslintrc.json", + "jest.config.ts" + ] +} \ No newline at end of file