{"_id":"@avinash995/mfe-contracts","name":"@avinash995/mfe-contracts","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@avinash995/mfe-contracts","version":"0.1.0","description":"Shared TypeScript contracts for the NovaMart micro frontends","type":"module","private":false,"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"repository":{"type":"git","url":"git+https://github.com/avinashsah995/mfe-contracts.git"},"publishConfig":{"access":"public"},"license":"MIT","scripts":{"build":"tsc -p tsconfig.json","lint":"tsc -p tsconfig.json --noEmit","pack:check":"npm pack --dry-run","prepublishOnly":"npm run build"},"devDependencies":{"typescript":"~6.0.2"},"_id":"@avinash995/mfe-contracts@0.1.0","bugs":{"url":"https://github.com/avinashsah995/mfe-contracts/issues"},"homepage":"https://github.com/avinashsah995/mfe-contracts#readme","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-1uTC0yOUnDwRNngbM6MPqSFnkTAftgcPKZetWdMSoYvM/aYkXDg9jeMuA4aBzO6yIH6g3EU6tul8VmZigce7TQ==","shasum":"c4f6ba06e9222ae14a0bcd3861e4aa2467b5956d","tarball":"https://registry.npmjs.org/@avinash995/mfe-contracts/-/mfe-contracts-0.1.0.tgz","fileCount":22,"unpackedSize":5850,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGCHzRiT2O+mM6NkHepIgOKNKSd3MPPuNBxJr1cIXcKvAiAuqorZqTUbECV4MWSOwqSuSONzoB7XQ3Oeac9Rz/9eBg=="}]},"_npmUser":{"name":"avinash995","email":"avinashsah0811@gmail.com"},"directories":{},"maintainers":[{"name":"avinash995","email":"avinashsah0811@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mfe-contracts_0.1.0_1786007066530_0.5965169626252058"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-06T09:04:26.306Z","0.1.0":"2026-08-06T09:04:26.682Z","modified":"2026-08-06T09:04:26.900Z"},"maintainers":[{"name":"avinash995","email":"avinashsah0811@gmail.com"}],"description":"Shared TypeScript contracts for the NovaMart micro frontends","homepage":"https://github.com/avinashsah995/mfe-contracts#readme","repository":{"type":"git","url":"git+https://github.com/avinashsah995/mfe-contracts.git"},"bugs":{"url":"https://github.com/avinashsah995/mfe-contracts/issues"},"license":"MIT","readme":"# @avinash995/mfe-contracts\n\nShared TypeScript contracts for the NovaMart micro frontends.\n\nThis package contains **types and event name constants only** — no React, Zustand, or UI code.\n\n## Installation\n\n```bash\nnpm install @avinash995/mfe-contracts@0.1.0\n```\n\nUse an exact version while the package API is still settling.\n\n## Usage\n\n```ts\nimport type { CartItem, Product, User } from \"@avinash995/mfe-contracts\";\nimport { MFE_EVENTS } from \"@avinash995/mfe-contracts\";\n```\n\n### Types\n\n| Type | Description |\n|------|-------------|\n| `Product` | Catalog product |\n| `CartItem` | `Product` plus `quantity` |\n| `User` | Authenticated user profile |\n\n### Events (optional)\n\n`MFE_EVENTS` and matching `*EventDetail` types are stubs for loose-coupled notifications (e.g. analytics). Prefer props for state and required actions.\n\n## Development\n\n```bash\nnpm install\nnpm run build\nnpm run lint\nnpm run pack:check\n```\n","readmeFilename":"README.md","_rev":"1-3c05d175819e671e28245cc843cefc0f"}