{
  "name": "lforms",
  "version": "42.2.0",
  "keywords": [
    "fhir",
    "Questionnaire",
    "SDC"
  ],
  "repository": "github:lhncbc/lforms",
  "license": "See LICENSE.md",
  "config": {
    "testPort": "4200",
    "testPortFhir": "4201",
    "localeID": "en_US"
  },
  "scripts": {
    "ng": "ng",
    "start": "start-server-and-test start:fhir-dev http://localhost:$npm_package_config_testPortFhir start:lforms-dev",
    "start:lforms-dev": "ng serve --port $npm_package_config_testPort --configuration=debugging",
    "start:fhir-dev": "webpack serve -c webpack.fhir.config.js --host localhost --env debugging=true",
    "start-public": "start-server-and-test start:fhir-dev http://localhost:$npm_package_config_testPortFhir start-public:lforms-dev",
    "start-public:lforms-dev": "node bin/start-public.js",
    "build:lforms-dev:update": "npm run build:lforms-dev && npm run build:prepare-zip",
    "build:lforms-dev": "ng build --configuration=debugging --extra-webpack-config webpack.lforms.extra.config.js && node concatenate.js",
    "build:lforms": "ng build --configuration production --extra-webpack-config webpack.lforms.extra.config.js && node concatenate.js",
    "build:fhir-dev:update": "npm run build:fhir-dev",
    "build:fhir-dev": "webpack --config ./webpack.fhir.config.js --env fhirOnly=true --env debugging=true",
    "build:fhir": "webpack --config ./webpack.fhir.config.js --env fhirOnly=true",
    "build-dev": "npm run build:init && npm run build:fhir-dev && npm run build:lforms-dev && npm run build:prepare-zip && npm run build:zip",
    "build": "npm run build:init && npm run build:fhir && npm run build:lforms && npm run build:prepare-zip && npm run build:zip",
    "build:clean": "shx rm -rf dist src/test/lib",
    "build:init": "npm run build:clean && shx mkdir -p dist/$npm_package_name && shx cp src/index.js dist && npm run build:version && npm run build:language",
    "build:prepare-zip": "node prepare-zip.js",
    "build:zip": "cd dist;  shx mv $npm_package_name $npm_package_name-$npm_package_version; bestzip $npm_package_name-$npm_package_version.zip $npm_package_name-$npm_package_version/*; shx mv $npm_package_name-$npm_package_version $npm_package_name",
    "build:version": "node -e 'require(\"fs\").writeFileSync(\"src/version.json\", JSON.stringify({lformsVersion: require(\"./package.json\").version}))'",
    "build:language": "node bin/build-locale.js $npm_package_config_localeID",
    "test:fhir-unit": "karma start test/karma.conf.js",
    "test:ng-unit": "ng test --watch=false",
    "test:unit": "npm run test:fhir-unit && npm run test:ng-unit",
    "test:e2e:fhir-server": "start-server-and-test start:fhir-dev http://localhost:$npm_package_config_testPortFhir test:e2e:lforms-server",
    "test:e2e:lforms-server": "start-server-and-test start:lforms-dev http://localhost:$npm_package_config_testPort pw:test",
    "test:e2e": "npm run test:e2e:fhir-server",
    "test": "npm run test:unit && npm run test:e2e",
    "test-coverage": "ng test --no-watch --code-coverage",
    "pw:test": "playwright test",
    "pw:test:headed": "playwright test --headed --workers=1",
    "pw:install": "playwright install chromium",
    "test-pages": "http-server -o /test/pages/build_test_fhirpath.html"
  },
  "dependencies": {
    "@angular/animations": "^20.3.18",
    "@angular/common": "^20.3.18",
    "@angular/compiler": "^20.3.18",
    "@angular/core": "^20.3.18",
    "@angular/elements": "^20.3.18",
    "@angular/forms": "^20.3.18",
    "@angular/platform-browser": "^20.3.18",
    "@angular/platform-browser-dynamic": "^20.3.18",
    "@angular/router": "^20.3.18",
    "@lhncbc/ucum-lhc": "^7.1.3",
    "@types/jquery": "^3.5.33",
    "autocomplete-lhc": "^20.1.0",
    "deep-equal": "^2.2.3",
    "fast-copy": "^3.0.1",
    "fhirpath": "^4.8.0",
    "htmlparser2": "^10.0.0",
    "jquery": "^3.7.1",
    "markdown-it": "^14.1.1",
    "moment": "2.29.4",
    "ng-zorro-antd": "^20.4.1",
    "rxjs": "~7.8.2",
    "string-replace-async": "^3.0.2",
    "style-to-object": "^1.0.14",
    "tslib": "^2.8.1",
    "zone.js": "~0.15.0"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^20.3.24",
    "@angular-devkit/core": "^20.3.24",
    "@angular-eslint/builder": "^20.1.0",
    "@angular-eslint/eslint-plugin": "^20.1.0",
    "@angular-eslint/eslint-plugin-template": "^20.1.0",
    "@angular-eslint/template-parser": "^20.1.0",
    "@angular/cli": "^20.3.24",
    "@angular/compiler-cli": "^20.3.18",
    "@playwright/test": "^1.58.2",
    "@types/jasmine": "~5.1.13",
    "@types/jasminewd2": "^2.0.13",
    "@types/node": "^22.13.14",
    "@typescript-eslint/eslint-plugin": "^8.55.0",
    "@typescript-eslint/parser": "^8.55.0",
    "babel-loader": "^10.0.0",
    "bestzip": "^2.2.1",
    "chai": "~4.3.6",
    "concat": "^1.0.3",
    "concat-with-sourcemaps": "^1.1.0",
    "eslint": "^9.0.0",
    "fs-extra": "^11.3.2",
    "http-server": "^14.1.1",
    "jasmine-core": "~5.12.1",
    "jasmine-spec-reporter": "~5.0.0",
    "jszip": "^3.10.1",
    "karma": "^6.4.4",
    "karma-chai": "^0.1.0",
    "karma-chrome-launcher": "~3.2.0",
    "karma-coverage": "~2.2.1",
    "karma-jasmine": "~5.1.0",
    "karma-jasmine-html-reporter": "~2.1.0",
    "karma-mocha": "^2.0.1",
    "karma-mocha-reporter": "^2.2.5",
    "mocha": "^11.7.5",
    "ngx-build-plus": "^20.0.0",
    "shx": "^0.3.4",
    "start-server-and-test": "^2.0.3",
    "ts-node": "^10.9.2",
    "typescript": "~5.8.0",
    "webpack-cli": "^5.1.4"
  },
  "overrides": {
    "diff": "^8.0.3",
    "serialize-javascript": "^7.0.4",
    "vite": "^7.3.2"
  }
}
