diff --git a/package.json b/package.json index 4e5fea5..c965fe9 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,15 @@ { "name": "@halvaradop/ts-utility-types", - "version": "0.6.0", + "version": "0.6.1", "description": "Utility types tools to enhances the productivity using typescript", - "main": "dist/index.d.ts", + "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "dev": "tsc -w", "test": "vitest", "coverage": "vitest run", - "build:js": "tsc src/validate-types.ts --outDir dist && rm dist/types.js", - "publish": "tsc && npm run build:js", + "build": "tsc", + "publish": "tsc && npm run build", "format": "prettier --write .", "format:check": "prettier --check ." }, diff --git a/tsconfig.json b/tsconfig.json index d6b038a..a62e0e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,7 @@ "declaration": true, "declarationMap": false, "declarationDir": "dist", - "emitDeclarationOnly": true, + "emitDeclarationOnly": false, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, "allowSyntheticDefaultImports": true