fhir-snapshot-generator
Version:
Generate snapshots for FHIR Profiles
71 lines (70 loc) • 2.34 kB
JSON
{
"name": "fhir-snapshot-generator",
"version": "1.7.0",
"description": "Generate snapshots for FHIR Profiles",
"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"
}
},
"author": "Outburn Ltd.",
"license": "Apache-2.0",
"scripts": {
"build": "npm run clean && tsup",
"clean": "rimraf dist",
"build:test:wip": "rimraf test/wip && tsup test/wip.ts --format cjs --outDir test/wip --external fhir-package-explorer --external fs-extra --minify --no-splitting --no-dts --external fhir-snapshot-generator",
"build:sushi": "rimraf test/FsgTestPkg/dist && sushi -s test/FsgTestPkg -o test/FsgTestPkg/dist && node test/create-fsh-manifest.js && npm run install:fsh-package",
"install:fsh-package": "node test/install-fsh-package.js",
"clear:cache": "rimraf test/.test-cache",
"prepublishOnly": "npm run build",
"dist-to-module": "npm run build && rimraf node_modules/fhir-snapshot-generator && node test/dist-to-module.js",
"pretest": "npm run dist-to-module && npm run install:fsh-package",
"pretest:hard": "npm run clear:cache && npm run build:sushi && npm run pretest",
"test": "vitest run",
"test:hard": "npm run pretest:hard && vitest run",
"test:wip": "npm run dist-to-module && npm run build:test:wip && npm run install:fsh-package && node test/wip/wip.cjs"
},
"keywords": [
"fhir",
"hl7",
"package",
"profile",
"conformance",
"cache",
"structuredefinition",
"snapshot",
"differential",
"bake",
"resources"
],
"files": [
"dist",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Outburn-IL/fhir-snapshot-generator.git"
},
"dependencies": {
"fhir-package-explorer": "^1.6.0",
"fs-extra": "^11.3.2"
},
"devDependencies": {
"@eslint/js": "^9.24.0",
"@types/fs-extra": "^11.0.4",
"eslint": "^9.39.1",
"fsh-sushi": "^3.16.5",
"rimraf": "^6.1.2",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.48.1",
"vitest": "^3.2.4"
}
}