From 3fab000fc34123ccfcbddaeb7221f0002021d523 Mon Sep 17 00:00:00 2001 From: Lucas Alves Costa <50385918+luckasnix@users.noreply.github.com> Date: Mon, 18 Nov 2024 19:41:59 -0300 Subject: [PATCH] fix: adjust package.json fields (#55) --- package-lock.json | 4 ++-- package.json | 14 +++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7fccb5b..89c862a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kasnix/structured-objects", - "version": "1.0.2", + "version": "1.0.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@kasnix/structured-objects", - "version": "1.0.2", + "version": "1.0.3", "license": "MIT", "devDependencies": { "@biomejs/biome": "1.9.4", diff --git a/package.json b/package.json index 1b39e3b..c6f788c 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,18 @@ { "name": "@kasnix/structured-objects", - "version": "1.0.2", + "version": "1.0.3", "repository": { "type": "git", - "url": "https://github.com/luckasnix/structured-objects.git" + "url": "git+https://github.com/luckasnix/structured-objects.git" }, "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js", + "default": "./dist/index.js" + } + }, "files": [ "dist" ],