{
  "name": "@claudebernard/prescription-scanner-element",
  "version": "0.22.6",
  "main": "dist/prescription-scanner.es.js",
  "module": "dist/prescription-scanner.es.js",
  "types": "dist/prescription-scanner.d.ts",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "tsc && vite build && npm run analyze",
    "preview": "vite preview",
    "lint": "eslint .",
    "analyze": "cem analyze",
    "storybook": "storybook dev -p 6006",
    "build-storybook": "storybook build",
    "write-test": "npx playwright codegen",
    "e2e-test": "npx playwright test",
    "e2e-test:ui": "npx playwright test --ui",
    "generate": "node scripts/generate.js",
    "test": "echo run the 'e2e-test' script to run tests"
  },
  "keywords": [
    "claude-bernard",
    "web-components",
    "prescription-scanner",
    "typescript",
    "fhir"
  ],
  "author": "Claude Bernard",
  "files": [
    "dist/*.js",
    "dist/*.d.ts",
    "dist/*.map",
    "dist/*.json"
  ],
  "dependencies": {
    "@apollo/client": "^3.9.8",
    "@lit/localize": "^0.12.0",
    "graphql": "^16.8.1",
    "graphql-ws": "^5.15.0",
    "lit": "^3.0.0",
    "pdfjs-dist": "^3.11.174",
    "tctx": "^0.0.13",
    "tom-select": "^2.3.1"
  },
  "devDependencies": {
    "@custom-elements-manifest/analyzer": "^0.9.0",
    "@graphql-codegen/cli": "^5.0.2",
    "@graphql-codegen/client-preset": "^4.2.4",
    "@lit/localize-tools": "^0.7.0",
    "@playwright/test": "^1.47.2",
    "@storybook/addon-a11y": "^8.4.6",
    "@storybook/addon-docs": "^8.4.6",
    "@storybook/addon-essentials": "^8.4.6",
    "@storybook/addon-links": "^8.4.6",
    "@storybook/blocks": "^8.4.6",
    "@storybook/test": "^8.4.6",
    "@storybook/web-components": "^8.4.6",
    "@storybook/web-components-vite": "^8.4.6",
    "@stylistic/eslint-plugin": "^2.3.0",
    "@types/node": "^22.14.1",
    "@typescript-eslint/eslint-plugin": "^7.4.0",
    "@typescript-eslint/parser": "^7.4.0",
    "@webcomponents/webcomponentsjs": "^2.8.0",
    "csv-parser": "^3.0.0",
    "eslint": "^8.57.0",
    "eslint-plugin-import": "2.29.1",
    "eslint-plugin-lit": "^1.14.0",
    "eslint-plugin-storybook": "^0.8.0",
    "lit-analyzer": "^2.0.3",
    "openapi-typescript-codegen": "^0.26.0",
    "sass": "^1.81.0",
    "ts-lit-plugin": "^2.0.2",
    "ts-node": "^10.9.2",
    "tslib": "^2.6.2",
    "typescript": "^5.4.3",
    "vite": "^5.4.11",
    "vite-plugin-dts": "^4.5.3"
  },
  "peerDependencies": {
    "@claudebernard/design-system": "^2.1.0",
    "@claudebernard/medication-request-editor-element": "^0"
  },
  "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/prescription-scanner.git -f v$(echo ${nextRelease.version} | cut -d. -f1,2)-latest'"
        }
      ],
      "@semantic-release/gitlab"
    ]
  }
}
