UNPKG

@medplum/react-hooks

Version:

Medplum React Hooks Library

88 lines (87 loc) 2.16 kB
{ "name": "@medplum/react-hooks", "version": "4.3.7", "description": "Medplum React Hooks 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-hooks" }, "license": "Apache-2.0", "author": "Medplum <hello@medplum.com>", "sideEffects": false, "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" } }, "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", "types": "dist/cjs/index.d.ts", "files": [ "dist/cjs", "dist/esm" ], "scripts": { "api-extractor": "api-extractor run --local && cp dist/types.d.ts dist/cjs/index.d.ts && cp dist/types.d.ts dist/esm/index.d.ts", "build": "npm run clean && tsc && node esbuild.mjs && npm run api-extractor", "clean": "rimraf dist", "lint": "eslint .", "test": "jest" }, "devDependencies": { "@medplum/core": "4.3.7", "@medplum/definitions": "4.3.7", "@medplum/fhirtypes": "4.3.7", "@medplum/mock": "4.3.7", "@testing-library/dom": "10.4.1", "@testing-library/jest-dom": "6.6.4", "@testing-library/react": "16.3.0", "@types/jest": "29.5.14", "@types/node": "20.19.9", "@types/react": "19.1.8", "@types/react-dom": "19.1.6", "dotenv": "17.2.1", "jest": "29.7.0", "jest-each": "29.7.0", "jest-websocket-mock": "2.5.0", "react": "19.1.0", "react-dom": "19.1.0", "typescript": "5.8.3" }, "peerDependencies": { "@medplum/core": "4.3.7", "react": "^17.0.2 || ^18.0.0 || ^19.0.0" }, "engines": { "node": "^20.19.0 || >=22.12.0" } }