diff --git a/package.json b/package.json index 2522f9c..805c6cc 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "mysql-schema-ts", "version": "0.2.2", "description": "mysql-schema-ts coverts mysql schemas into typescript interfaces", - "main": "index.js", + "main": "./dist/src/index.js", + "types": "./dist/src/index.d.ts", "author": "Netto Farah ", "license": "MIT", "scripts": { @@ -19,7 +20,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/nettofarahmysql-schema-ts.git" + "url": "https://github.com/nettofarah/mysql-schema-ts.git" }, "dependencies": { "lodash": "^4.17.15", diff --git a/tsconfig.json b/tsconfig.json index f2e2c9e..399be42 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,6 +11,7 @@ "outDir": "dist", "noUnusedLocals": true, "noUnusedParameters": true, + "declaration": true, "lib": ["es2020"], "baseUrl": "./src", "paths": {