UNPKG

@medalsocial/meda

Version:

Shared Meda UI shell and runtime package.

259 lines 7.68 kB
{ "name": "@medalsocial/meda", "version": "2.7.0", "description": "Shared Meda UI shell and runtime package.", "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/Medal-Social/meda.git" }, "homepage": "https://github.com/Medal-Social/meda#readme", "bugs": { "url": "https://github.com/Medal-Social/meda/issues" }, "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "engines": { "node": ">=22" }, "files": [ "README.md", "components.json", "dist", "skills", "!skills/_artifacts", "!skills/**/_artifacts", "!skills/**/_artifacts/**" ], "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./brand": { "types": "./dist/brand/index.d.ts", "default": "./dist/brand/index.js" }, "./auth": { "types": "./dist/auth/index.d.ts", "default": "./dist/auth/index.js" }, "./auth/better-auth": { "types": "./dist/auth/better-auth.d.ts", "default": "./dist/auth/better-auth.js" }, "./shell": { "types": "./dist/shell/index.d.ts", "default": "./dist/shell/index.js" }, "./voice": { "types": "./dist/voice/index.d.ts", "default": "./dist/voice/index.js" }, "./timeline": { "types": "./dist/timeline/index.d.ts", "default": "./dist/timeline/index.js" }, "./kanban": { "types": "./dist/kanban/index.d.ts", "import": "./dist/kanban/index.js" }, "./calendar": { "types": "./dist/calendar/index.d.ts", "import": "./dist/calendar/index.js" }, "./workflow-builder": { "types": "./dist/workflow-builder/index.d.ts", "import": "./dist/workflow-builder/index.js" }, "./list": { "types": "./dist/list/index.d.ts", "import": "./dist/list/index.js" }, "./marketing": { "types": "./dist/marketing/index.d.ts", "default": "./dist/marketing/index.js" }, "./chat": { "types": "./dist/chat/index.d.ts", "default": "./dist/chat/index.js" }, "./email-builder": { "types": "./dist/email-builder/index.d.ts", "default": "./dist/email-builder/index.js" }, "./panel": { "types": "./dist/panel/index.d.ts", "default": "./dist/panel/index.js" }, "./post-preview": { "types": "./dist/post-preview/index.d.ts", "default": "./dist/post-preview/index.js" }, "./styles": { "default": "./dist/styles/theme.css" }, "./styles.css": { "default": "./dist/styles/theme.css" }, "./styles/tokens": { "default": "./dist/styles/tokens.css" }, "./shell/primitives": { "types": "./dist/shell/primitives.d.ts", "default": "./dist/shell/primitives.js" }, "./recipes/next": { "types": "./dist/recipes/next.d.ts", "default": "./dist/recipes/next.js" }, "./theme": { "types": "./dist/theme/index.d.ts", "default": "./dist/theme/index.js" }, "./markdown-view": { "types": "./dist/primitives/markdown-view-entry.d.ts", "default": "./dist/primitives/markdown-view-entry.js" } }, "sideEffects": [ "**/*.css", "./dist/styles/*.css" ], "publishConfig": { "access": "public" }, "peerDependencies": { "@dnd-kit/core": "^6.3.1", "@dnd-kit/sortable": "^10.0.0", "@dnd-kit/utilities": "^3.2.2", "@react-three/fiber": "^9.0.0", "@xyflow/react": "^12.0.0", "lucide-react": "^1.8.0", "next-themes": "^0.4.0", "react": ">=19", "react-dom": ">=19", "react-markdown": "^10.0.0", "rehype-highlight": "^7.0.0", "remark-gfm": "^4.0.0" }, "peerDependenciesMeta": { "@dnd-kit/core": { "optional": false }, "@dnd-kit/sortable": { "optional": false }, "@dnd-kit/utilities": { "optional": false }, "@react-three/fiber": { "optional": true }, "@xyflow/react": { "optional": false }, "next-themes": { "optional": true }, "react-markdown": { "optional": true }, "rehype-highlight": { "optional": true }, "remark-gfm": { "optional": true } }, "dependencies": { "@base-ui/react": "1.6.0", "@fontsource-variable/geist": "5.2.8", "@fontsource-variable/geist-mono": "5.2.7", "class-variance-authority": "0.7.1", "clsx": "2.1.1", "cmdk": "1.1.1", "react-resizable-panels": "4.11.0", "tailwind-merge": "3.5.0", "three": "0.184.0", "vaul": "1.1.2" }, "devDependencies": { "@biomejs/biome": "2.4.14", "@changesets/changelog-github": "0.6.0", "@changesets/cli": "2.31.0", "@dnd-kit/core": "6.3.1", "@dnd-kit/sortable": "10.0.0", "@dnd-kit/utilities": "3.2.2", "@react-three/fiber": "9.6.1", "@size-limit/preset-small-lib": "12.1.0", "@storybook/addon-a11y": "10.3.6", "@storybook/addon-docs": "10.3.6", "@storybook/addon-mcp": "0.6.0", "@storybook/addon-themes": "10.3.6", "@storybook/addon-vitest": "10.3.6", "@storybook/react-vite": "10.3.6", "@tailwindcss/vite": "4.2.4", "@tanstack/intent": "0.0.41", "@testing-library/jest-dom": "6.9.1", "@testing-library/react": "16.3.2", "@types/react": "19.2.14", "@types/react-dom": "19.2.3", "@types/three": "0.184.0", "@vitejs/plugin-react": "6.0.1", "@vitest/browser-playwright": "4.1.5", "@vitest/coverage-istanbul": "4.1.5", "@vitest/coverage-v8": "4.1.5", "@xyflow/react": "12.10.2", "chromatic": "16.6.3", "husky": "9.1.7", "jsdom": "29.1.1", "next-themes": "0.4.6", "playwright": "1.59.1", "react": "19.2.5", "react-dom": "19.2.5", "react-markdown": "10.1.0", "rehype-highlight": "7.0.2", "remark-gfm": "4.0.1", "size-limit": "12.1.0", "storybook": "10.3.6", "tailwindcss": "4.2.4", "typescript": "~6.0.3", "vite": "8.0.10", "vitest": "4.1.5", "vitest-axe": "0.1.0", "wrangler": "4.87.0" }, "keywords": [ "tanstack-intent" ], "scripts": { "build": "pnpm exec tsc -p tsconfig.build.json && node ./scripts/build.mjs", "lint": "biome check .", "lint:fix": "biome check --write .", "format": "biome format --write .", "demo:dev": "vite --config vite.config.demo.ts", "demo:build": "vite build --config vite.config.demo.ts", "worker:build": "pnpm demo:build && pnpm storybook:build && node ./scripts/copy-registry-to-dist.mjs", "worker:build:dev": "pnpm demo:build && node ./scripts/copy-registry-to-dist.mjs --skip-storybook", "worker:dev": "pnpm worker:build:dev && wrangler dev", "worker:deploy": "pnpm worker:build && wrangler deploy", "test": "vitest run --environment jsdom", "test:run": "vitest run --environment jsdom", "test:coverage": "vitest run --environment jsdom --project unit --coverage", "test:integration": "vitest run --config vitest.config.integration.ts", "typecheck": "tsc --noEmit", "storybook": "storybook dev -p 6006 --no-open", "storybook:build": "storybook build -o storybook-static", "chromatic": "chromatic --build-script-name=storybook:build --exit-zero-on-changes", "size-limit": "size-limit", "size-limit:why": "size-limit --why", "version": "changeset version", "release": "pnpm build && changeset publish", "registry:validate": "node ./registry/scripts/validate-registry.mjs", "lint:tokens": "node scripts/lint-tokens.mjs", "check:stories": "node scripts/check-stories.mjs", "quality": "pnpm lint && pnpm typecheck && pnpm lint:tokens && pnpm test" } }