diff --git a/package.json b/package.json index dcb9f055..3fc29ef7 100644 --- a/package.json +++ b/package.json @@ -41,8 +41,13 @@ "url": "https://github.com/simularium/simularium-viewer.git" }, "exports": { - ".": "./es/index.js", - "./style/style.css": "./es/style/style.css" + "./style/style.css": "./es/style/style.css", + ".": { + "import": { + "types": "./type-declarations/index.d.ts", + "default": "./es/index.js" + } + } }, "author": "", "license": "MIT", @@ -113,4 +118,4 @@ "three": "^0.171.0", "tweakpane": "^3.0.7" } -} +} \ No newline at end of file