fhir-snapshot-generator
Version:
Generate snapshots for FHIR Profiles
62 lines (61 loc) • 2.13 kB
JSON
{
"name": "fhir-snapshot-generator",
"version": "1.4.2",
"description": "Generate snapshots for FHIR Profiles",
"main": "dist/index.js",
"types": "dist/src/index.d.ts",
"type": "module",
"author": "Outburn Ltd.",
"license": "Apache-2.0",
"scripts": {
"build": "rimraf dist && ncc build src/index.ts --external fhir-package-explorer --minify --no-cache --out dist",
"build:test:wip": "rimraf test/wip && ncc build test/wip.ts --external fhir-package-explorer --external fs-extra --minify --no-cache --out test/wip",
"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 build:test:wip && npm run install:fsh-package && node test/wip/index.js"
},
"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.3.2",
"fs-extra": "^11.3.1"
},
"devDependencies": {
"@eslint/js": "^9.24.0",
"@types/fs-extra": "^11.0.4",
"@vercel/ncc": "^0.38.3",
"eslint": "^9.33.0",
"fsh-sushi": "^3.16.3",
"rimraf": "^6.0.1",
"typescript": "^5.9.2",
"typescript-eslint": "^8.39.1",
"vitest": "^3.2.4"
}
}