@medplum/react-hooks
Version:
Medplum React Hooks Library
87 lines (86 loc) • 2.13 kB
JSON
{
"name": "@medplum/react-hooks",
"version": "5.0.10",
"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,
"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"
}
},
"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 .",
"lint:fix": "eslint . --fix",
"test": "jest"
},
"devDependencies": {
"@medplum/core": "5.0.10",
"@medplum/definitions": "5.0.10",
"@medplum/fhirtypes": "5.0.10",
"@medplum/mock": "5.0.10",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.0",
"@types/node": "22.19.2",
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3",
"dotenv": "17.2.3",
"jest-websocket-mock": "2.5.0",
"react": "19.2.3",
"react-dom": "19.2.3",
"typescript": "5.9.3"
},
"peerDependencies": {
"@medplum/core": "5.0.10",
"react": "^18.0.0 || ^19.0.0"
},
"engines": {
"node": "^22.18.0 || >=24.2.0"
}
}