UNPKG

@medplum/react

Version:

Medplum React Component Library

141 lines (140 loc) 3.7 kB
{ "name": "@medplum/react", "version": "5.1.27", "description": "Medplum React Component Library", "keywords": [ "medplum", "fhir", "healthcare", "interoperability", "json", "serialization", "hl7", "standards", "clinical", "dstu2", "stu3", "r4", "normative", "ui", "input", "react", "react-component" ], "homepage": "https://www.medplum.com/", "bugs": { "url": "https://github.com/medplum/medplum/issues" }, "repository": { "type": "git", "url": "git+https://github.com/medplum/medplum.git", "directory": "packages/react" }, "license": "Apache-2.0", "author": "Medplum <hello@medplum.com>", "sideEffects": [ "*.css" ], "type": "module", "exports": { ".": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.mjs" }, "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.cjs" } }, "./styles.css": "./dist/esm/index.css" }, "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", "types": "dist/esm/index.d.ts", "files": [ ".env.defaults", "dist/cjs", "dist/esm" ], "scripts": { "api-extractor": "api-extractor run --local && shx cp dist/types.d.ts dist/cjs/index.d.ts && shx cp dist/types.d.ts dist/esm/index.d.ts", "build": "npm run clean && tsc && node esbuild.mjs && npm run api-extractor", "chromatic": "chromatic --exit-zero-on-changes --build-script-name=storybook --exit-once-uploaded", "clean": "rimraf dist storybook-static", "dev": "storybook dev -p 6006", "lint": "eslint .", "lint:fix": "eslint . --fix", "storybook": "storybook build", "test": "vitest run" }, "devDependencies": { "@mantine/core": "8.3.18", "@mantine/hooks": "8.3.18", "@mantine/notifications": "8.3.18", "@mantine/spotlight": "8.3.18", "@medplum/core": "5.1.27", "@medplum/definitions": "5.1.27", "@medplum/fhirtypes": "5.1.27", "@medplum/mock": "5.1.27", "@medplum/react-hooks": "5.1.27", "@storybook/addon-docs": "10.5.2", "@storybook/addon-links": "10.5.2", "@storybook/builder-vite": "10.5.2", "@storybook/react": "10.5.2", "@storybook/react-vite": "10.5.2", "@tabler/icons-react": "3.45.0", "@testing-library/dom": "10.4.1", "@testing-library/jest-dom": "6.9.1", "@testing-library/react": "16.3.2", "@testing-library/user-event": "14.6.1", "@types/react": "19.2.17", "@types/react-dom": "19.2.3", "@vitejs/plugin-react": "6.0.3", "@vueless/storybook-dark-mode": "10.0.8", "chromatic": "18.0.1", "dotenv": "17.4.2", "jsqr": "1.4.0", "postcss": "8.5.19", "postcss-preset-mantine": "1.18.0", "react": "19.2.7", "react-dom": "19.2.7", "react-router": "7.18.1", "signature_pad": "5.1.3", "sinon": "22.0.0", "storybook": "10.5.2", "typescript": "6.0.3" }, "peerDependencies": { "@mantine/core": "^8.0.0", "@mantine/hooks": "^8.0.0", "@mantine/notifications": "^8.0.0", "@mantine/spotlight": "^8.0.0", "@medplum/core": "5.1.27", "@medplum/react-hooks": "5.1.27", "jsqr": "^1.4.0", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0", "signature_pad": "^5.0.10" }, "peerDependenciesMeta": { "@mantine/core": { "optional": true }, "@mantine/hooks": { "optional": true }, "@mantine/notifications": { "optional": true }, "signature_pad": { "optional": true }, "jsqr": { "optional": true } }, "engines": { "node": "^22.18.0 || >=24.2.0" } }