diff --git a/package.json b/package.json index 4f05a87..7e4f99d 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,13 @@ "license": "MIT", "main": "lib/index.js", "types": "lib/index.d.ts", + "exports": { + ".": { + "types": "./lib/index.d.ts", + "default": "./lib/index.js" + }, + "./package.json": "./package.json" + }, "directories": { "src": "src", "test": "__tests__"