{
    "name": "@claudebernard/medication-request-editor-element",
    "version": "0.17.3",
    "main": "medication-request-editor.es.js",
    "module": "dist/medication-request-editor.es.js",
    "types": "dist/medication-request-editor.d.ts",
    "type": "module",
    "files": [
        "dist/*.js",
        "dist/*.d.ts",
        "dist/*.map",
        "dist/*.json"
    ],
    "scripts": {
        "dev": "vite",
        "build": "tsc && vite build && npm run analyze",
        "preview": "vite preview",
        "lint": "npm run lint:lit-analyzer && npm run lint:eslint",
        "lint:eslint": "eslint \"src/**/*.ts\"",
        "lint:lit-analyzer": "lit-analyzer",
        "analyze": "cem analyze",
        "analyze:watch": "cem analyze --watch",
        "publish-package": "npm run build && npm publish --access public",
        "test": "echo run the 'e2e-test' script to run tests",
        "e2e-test": "npx playwright test",
        "write-test": "npx playwright codegen",
        "e2e-test:ui": "npx playwright test --ui"
    },
    "keywords": [
        "claude-bernard",
        "web-components",
        "typescript",
        "fhir"
    ],
    "author": "Claude Bernard",
    "dependencies": {
        "@lit/localize": "^0.12.0",
        "lit": "^3.0.0",
        "tom-select": "^2.3.1"
    },
    "devDependencies": {
        "@custom-elements-manifest/analyzer": "^0.9.0",
        "@lit/localize-tools": "^0.7.0",
        "@types/node": "^20.12.5",
        "@typescript-eslint/eslint-plugin": "^6.19.0",
        "@typescript-eslint/parser": "^6.19.0",
        "@webcomponents/webcomponentsjs": "^2.8.0",
        "eslint": "^8.56.0",
        "lit-analyzer": "^2.0.3",
        "rollup": "^4.9.5",
        "ts-lit-plugin": "^1.2.1",
        "tslib": "^2.6.2",
        "typescript": "^5.2.0",
        "vite": "^5.0.5",
        "vite-plugin-dts": "^3.7.1"
    },
    "customElements": "dist/custom-elements.json",
    "publishConfig": {
    "access": "public"
  },
  "release": {
    "tagFormat": "v${version}",
    "branches": [
      "master"
    ],
    "plugins": [
      "@semantic-release/commit-analyzer",
      "@semantic-release/release-notes-generator",
      "@semantic-release/changelog",
      [
        "semantic-release-replace-plugin",
        {
          "replacements": [
            {
              "files": [
                "package.json"
              ],
              "from": "\"version\": \"\\d+\\.\\d+\\.\\d+\"",
              "to": "\"version\": \"${nextRelease.version}\"",
              "results": [
                {
                  "file": "package.json",
                  "hasChanged": true
                }
              ]
            },
            {
              "files": [
                "antora.yml"
              ],
              "from": "version: .*",
              "to": "version: ${nextRelease.version.replace(/(\\d+\\.\\d+)\\.\\d+/, '$1')}.x"
            }
          ]
        }
      ],[
        "@semantic-release/git",
        {
          "message": "chore(release): ${nextRelease.version} [skip ci on prod]",
          "assets": [
            "package.json",
            "antora.yml*",
            "CHANGELOG.md"
          ]
        }
      ], [
        "@semantic-release/exec",
        {
          "publishCmd": "sh -c 'git tag -f $(echo v${nextRelease.version} | cut -d. -f1,2)-latest && git push https://gitlab-ci-token:$GITLAB_TOKEN@gitlab.cegedim-sante.com/resip/pim/web-components/medication-request-editor.git -f v$(echo ${nextRelease.version} | cut -d. -f1,2)-latest'"
        }
      ],
      "@semantic-release/gitlab"
    ]
  }
}
