From 12bf0c1f355d08c55471859edef4e9246ec88b4b Mon Sep 17 00:00:00 2001 From: nickreynolds Date: Wed, 24 Aug 2022 20:45:32 -0400 Subject: [PATCH] fix: add exports and typesVersions to package.json (#54) --- package.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package.json b/package.json index 89161a5..d6a747e 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,13 @@ "version": "1.0.0", "description": "A repository storing keys and other data about Ethereum Decentralized Identifiers (DIDs)", "main": "./dist/index.js", + "exports": "./dist/index.js", + "typesVersions": { + "*": { + "dist/index.d.ts": ["dist/index.d.ts"], + "*": ["./dist/index.d.js"] + } + }, "dependencies": {}, "devDependencies": { "@babel/core": "7.18.6",