diff --git a/package.json b/package.json index b64ceed..8c0f10b 100644 --- a/package.json +++ b/package.json @@ -3,40 +3,38 @@ "version": "1.0.0", "description": "Shared TypeScript types, API client, and block registry for Payload CMS frontends", "type": "module", - "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "main": "./src/index.ts", + "types": "./src/index.ts", "exports": { ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.js" + "types": "./src/index.ts", + "import": "./src/index.ts" }, "./types": { - "types": "./dist/types/index.d.ts", - "import": "./dist/types/index.js" + "types": "./src/types/index.ts", + "import": "./src/types/index.ts" }, "./api-client": { - "types": "./dist/api-client/index.d.ts", - "import": "./dist/api-client/index.js" + "types": "./src/api-client/index.ts", + "import": "./src/api-client/index.ts" }, "./blocks": { - "types": "./dist/blocks/registry.d.ts", - "import": "./dist/blocks/registry.js" + "types": "./src/blocks/registry.tsx", + "import": "./src/blocks/registry.tsx" }, "./constants": { - "types": "./dist/constants/index.d.ts", - "import": "./dist/constants/index.js" + "types": "./src/constants/index.ts", + "import": "./src/constants/index.ts" } }, "files": [ - "dist", "src" ], "scripts": { "build": "tsc", "dev": "tsc --watch", "typecheck": "tsc --noEmit", - "extract": "tsx scripts/extract-types.ts", - "prepublishOnly": "pnpm build" + "extract": "tsx scripts/extract-types.ts" }, "keywords": [ "payload-cms",