From c914e738e4d6c7700ad5ce6184d292c02a4e48d1 Mon Sep 17 00:00:00 2001 From: tuf <56236951+TufanMeric@users.noreply.github.com> Date: Tue, 29 Aug 2023 16:18:41 +0300 Subject: [PATCH] Make typescript happy again --- package.json | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 877d7b2..cb182c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "paketto", - "version": "1.0.1-release", + "version": "1.0.2-release", "author": "Tufan MeriƧ Uyguner", "license": "MIT", "keywords": [ @@ -18,9 +18,18 @@ "typings": "lib/index.d.ts", "exports": { ".": { - "browser": "./dist/paketto.js", - "import": "./build/esm/index.mjs", - "require": "./build/cjs/index.js" + "browser": { + "default": "./dist/paketto.js", + "types": "./dist/paketto.d.ts" + }, + "import": { + "default": "./build/esm/index.mjs", + "types": "./lib/index.d.ts" + }, + "require": { + "default": "./build/cjs/index.js", + "types": "./lib/index.d.ts" + } }, "./package.json": "./package.json" },