diff --git a/package.json b/package.json index 8cc821f..5d82413 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,12 @@ "name": "@luke-else/component-lib", "version": "1.0.1", "description": "", - "main": "index.js", + "main": "./dist/index.js", + "module": "./dist/index.js", + "types": "./dist/index.d.ts", + "files": [ + "dist" + ], "scripts": { "package": "svelte-package", "build": "pnpm run package", @@ -11,8 +16,9 @@ "type": "module", "exports": { ".": { - "svelte": "./dist/index.ts", - "default": "./dist/index.ts" + "types": "./dist/index.d.ts", + "svelte": "./dist/index.js", + "default": "./dist/index.js" } }, "keywords": [],