UNPKG

fhir-package-installer

Version:

A utility module for downloading, indexing, caching, and managing FHIR packages from the FHIR Package Registry and Simplifier

88 lines (87 loc) 2.59 kB
{ "name": "fhir-package-installer", "version": "1.13.0", "description": "A utility module for downloading, indexing, caching, and managing FHIR packages from the FHIR Package Registry and Simplifier", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./mock-artifactory-server": { "types": "./dist/mock-artifactory-server.d.ts", "import": "./dist/mock-artifactory-server.mjs", "require": "./dist/mock-artifactory-server.cjs" } }, "typesVersions": { "*": { "mock-artifactory-server": [ "dist/mock-artifactory-server.d.ts" ] } }, "author": "Outburn Ltd.", "license": "MIT", "keywords": [ "fhir", "hl7", "package", "install", "installer", "npm", "registry", "simplifier", "cache", "download" ], "files": [ "dist", "README.md", "LICENSE" ], "repository": { "type": "git", "url": "git+https://github.com/Outburn-IL/fhir-package-installer.git" }, "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsup", "dist-to-module": "rimraf node_modules/fhir-package-installer && npm run build && node test/dist-to-module.js", "check-registries": "node test/checkRegistriesAvailable.js", "pretest": "npm run dist-to-module && node test/cjs-test.cjs && node test/esm-test.mjs && node test/mock-artifactory-cjs-test.cjs && node test/mock-artifactory-esm-test.mjs", "test": "vitest run", "test:light": "cross-env FPI_SKIP_LIVE_REGISTRY=1 FPI_SKIP_VSAC_STRESS=1 FPI_SKIP_SYNTH_STRESS=1 vitest run", "test:dual-mode": "vitest run test/fhir-package-installer.dual-mode.test.ts", "test:mock-server": "vitest run test/mock-artifactory-server.test.ts", "prepublishOnly": "npm run build" }, "dependencies": { "fs-extra": "^11.3.5", "p-limit": "^7.3.0", "semver": "^7.8.0", "tar-stream": "^3.2.0" }, "devDependencies": { "@eslint/js": "^10.0.1", "@outburn/types": "^0.2.0", "@types/fs-extra": "^11.0.4", "@types/json5": "^0.0.30", "@types/range-parser": "^1.2.7", "@types/semver": "^7.7.1", "@types/tar-stream": "^3.1.4", "@types/yargs-parser": "^21.0.3", "cross-env": "^10.1.0", "eslint": "^10.4.0", "globals": "^17.6.0", "rimraf": "^6.1.3", "tslib": "^2.8.1", "tsup": "^8.5.1", "typescript": "^5.9.3", "vitest": "^4.1.6" } }