diff --git a/packages/ui/package.json b/packages/ui/package.json index b6d75676..c4652312 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,36 +1,38 @@ { "name": "@waldronmatt/demo-ui", "version": "3.4.0", - "types": "./dist/types/esm/index.d.ts", - "module": "./dist/esm/index.js", - "main": "./dist/cjs/index.cjs", "type": "module", "exports": { - ".": { - "import": { - "types": "./dist/types/esm/index.d.ts", - "default": "./dist/esm/index.js" + "./lib/*": "./lib/*" + }, + "publishConfig": { + "access": "public", + "exports": { + ".": { + "import": { + "types": "./dist/types/esm/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "types": "./dist/types/cjs/index.d.cts", + "default": "./dist/cjs/index.cjs" + } }, - "require": { - "types": "./dist/types/cjs/index.d.cts", - "default": "./dist/cjs/index.cjs" - } - }, - "./*": { - "import": { - "types": "./dist/types/esm/*", - "default": "./dist/esm/*" + "./*": { + "import": { + "types": "./dist/types/esm/*", + "default": "./dist/esm/*" + }, + "require": { + "types": "./dist/types/cjs/*", + "default": "./dist/cjs/*" + } }, - "require": { - "types": "./dist/types/cjs/*", - "default": "./dist/cjs/*" + "./styles/*": { + "import": "./dist/styles/*", + "require": "./dist/styles/*" } - }, - "./styles/*": { - "import": "./dist/styles/*", - "require": "./dist/styles/*" - }, - "./lib/*": "./lib/*" + } }, "files": [ "dist", @@ -46,9 +48,6 @@ "build": "tsc --p ./tsconfig.build.json && vite build", "clean": "rimraf dist tsconfig.build.tsbuildinfo" }, - "publishConfig": { - "access": "public" - }, "repository": { "type": "git", "url": "git+https://github.com/waldronmatt/groundwork.git",