diff --git a/package/package.json b/package/package.json index 410b128a..eb510ba3 100644 --- a/package/package.json +++ b/package/package.json @@ -21,14 +21,17 @@ "exports": { "./package.json": "./package.json", "./react": { + "types": "./react/konsta-react.d.ts", "require": "./react/cjs/konsta-react.js", "import": "./react/esm/konsta-react.js" }, "./vue": { + "types": "./vue/konsta-vue.d.ts", "require": "./vue/konsta-vue.js", "import": "./vue/konsta-vue.js" }, "./svelte": { + "types": "./svelte/konsta-svelte.d.ts", "import": "./svelte/konsta-svelte.js" }, "./config": "./config.js", diff --git a/package/react/package.json b/package/react/package.json index eee13f40..2b0aaaca 100644 --- a/package/react/package.json +++ b/package/react/package.json @@ -8,8 +8,9 @@ "type": "module", "exports": { ".": { + "types": "./konsta-react.d.ts", "import": "./esm/konsta-react.js", "require": "./cjs/konsta-react.js" } } -} +} \ No newline at end of file diff --git a/package/svelte/package.json b/package/svelte/package.json index 38c0c641..bfc90a2a 100644 --- a/package/svelte/package.json +++ b/package/svelte/package.json @@ -9,7 +9,8 @@ "type": "module", "exports": { ".": { + "types": "./konsta-svelte.d.ts", "import": "./konsta-svelte.js" } } -} +} \ No newline at end of file diff --git a/package/vue/package.json b/package/vue/package.json index ff9dadef..dea36b6c 100644 --- a/package/vue/package.json +++ b/package/vue/package.json @@ -9,9 +9,10 @@ "type": "module", "exports": { ".": { + "types": "./konsta-vue.d.ts", "vue": "./konsta-vue.js", "import": "./konsta-vue.js", "require": "./konsta-vue.js" } } -} +} \ No newline at end of file diff --git a/src/react/package.json b/src/react/package.json index 70ee5d7b..b4c7bae8 100644 --- a/src/react/package.json +++ b/src/react/package.json @@ -3,4 +3,4 @@ "private": true, "jsnext:main": "./konsta-react.js", "module": "./konsta-react.js" -} +} \ No newline at end of file diff --git a/src/svelte/package.json b/src/svelte/package.json index 958a6a77..a8cd7e76 100644 --- a/src/svelte/package.json +++ b/src/svelte/package.json @@ -2,6 +2,7 @@ "name": "konsta/svelte", "private": true, "jsnext:main": "./konsta-svelte.js", + "types": "./konsta-svelte.d.ts", "module": "./konsta-svelte.js", "svelte": "./konsta-svelte.js" -} +} \ No newline at end of file