{
  "name": "@microsoft/omnichannel-chat-widget",
  "version": "2.0.1-main.5b375de",
  "description": "Microsoft Omnichannel Chat Widget",
  "main": "lib/cjs/index.js",
  "types": "lib/types/index.d.ts",
  "repository": "https://github.com/microsoft/omnichannel-chat-widget",
  "author": "Microsoft",
  "license": "MIT",
  "type": "module",
  "files": [
    "lib"
  ],
  "engines": {
    "node": ">=22.12.0"
  },
  "exports": {
    ".": {
      "import": "./lib/esm/index.js",
      "require": "./lib/cjs/index.js",
      "types": "./lib/types/index.d.ts"
    },
    "./package.json": "./package.json"
  },
  "devDependencies": {
    "@babel/cli": "^7.29.7",
    "@babel/core": "^7.15.8",
    "@babel/preset-env": "^7.15.8",
    "@babel/preset-react": "^7.14.5",
    "@babel/preset-typescript": "^7.15.0",
    "@storybook/addon-a11y": "^6.4.8",
    "@storybook/addon-actions": "^6.4.8",
    "@storybook/addon-essentials": "^6.4.8",
    "@storybook/addon-knobs": "^6.4.0",
    "@storybook/addon-links": "^6.4.8",
    "@storybook/builder-webpack5": "6.5.16",
    "@storybook/manager-webpack5": "6.5.16",
    "@storybook/react": "^6.4.8",
    "@testing-library/dom": "^10.4.0",
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/react": "^16.3.0",
    "@types/core-js": "^2.5.5",
    "@types/jest": "^27.0.2",
    "@types/jest-image-snapshot": "^4.3.1",
    "@types/markdown-it": "^14.1.2",
    "@types/react": "^18.3.13",
    "@types/react-dom": "^18.3.6",
    "@types/styled-components": "^5.1.15",
    "@typescript-eslint/eslint-plugin": "^5.3.0",
    "@typescript-eslint/parser": "^5.2.0",
    "babel-jest": "^27.3.1",
    "babel-loader": "^8.2.3",
    "babel-plugin-react-native-web": "^0.21.2",
    "botframework-directlinejs": "^0.15.0",
    "concurrently": "^9.1.2",
    "copyfiles": "^2.4.1",
    "cross-env": "^7.0.3",
    "danger": "^13.0.4",
    "eslint": "^7.32.0",
    "eslint-plugin-react": "^7.26.1",
    "husky": "^9.1.7",
    "jest": "^27.3.1",
    "jest-dom": "^4.0.0",
    "jest-axe": "^10.0.0",
    "jest-image-snapshot": "^4.5.1",
    "jest-transform-stub": "^2.0.0",
    "json": "^11.0.0",
    "lint-staged": "^16.0.0",
    "metro-react-native-babel-preset": "^0.77.0",
    "playwright": "^1.20.0",
    "@axe-core/playwright": "^4.10.2",
    "@axe-core/react": "^4.10.2",
    "accessibility-insights-scan": "^3.0.0",
    "@guidepup/guidepup": "^0.24.1",
    "postcss": "8.5.19",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "react-native-web": "^0.21.2",
    "react-test-renderer": "^18.3.1",
    "redux": "^5.0.1",
    "rimraf": "^6.0.1",
    "storybook-addon-playwright": "4.9.2",
    "swiper": "^12.1.2",
    "terser-webpack-plugin": "^5.3.14",
    "thread-loader": "^4.0.4",
    "ts-loader": "^9.2.6",
    "typescript": "^5.8.3",
    "undici": "8.9.0",
    "webpack": "^5.104.1",
    "webpack-cli": "^6.0.1"
  },
  "dependencies": {
    "@azure/core-tracing": "^1.2.0",
    "@microsoft/applicationinsights-web": "^3.3.6",
    "@microsoft/omnichannel-chat-components": "1.2.0",
    "@microsoft/omnichannel-chat-sdk": "2.0.2-main.355218f",
    "@opentelemetry/api": "^1.9.0",
    "abort-controller": "^3",
    "botframework-webchat": "4.18.1-hotfix.20260308.b15b405",
    "core-js-pure": "^3.42.0",
    "dompurify": "3.4.17",
    "markdown-it": "^14.3.3",
    "markdown-it-attrs": "^4.1.6",
    "markdown-it-for-inline": "^0.1.1",
    "md5-typescript": "^1.0.5",
    "rxjs": "5.5.12",
    "simple-update-in": "2.2.0",
    "slack-markdown-it": "^1.0.5"
  },
  "scripts": {
    "storybook": "start-storybook -p 6006",
    "compose-storybook": "start-storybook -c stories/.storybook -p 9009",
    "build-composite-storybook": "cross-env STORYBOOK_BUILD_MODE=true NODE_OPTIONS=--openssl-legacy-provider build-storybook -c stories/.storybook -o storybook-build",
    "build-storybook": "cross-env STORYBOOK_BUILD_MODE=true NODE_OPTIONS=--openssl-legacy-provider build-storybook",
    "build": "yarn clean && yarn lint && yarn build:esm && yarn build:cjs && tsc",
    "test:unit": "jest -c jest.config.unit.cjs --env=jsdom --runInBand --force-exit",
    "test:a11y": "jest -c jest.config.a11y.cjs --runInBand --force-exit",
    "test:cjs": "webpack --config ./webpack.cjs-consumer.config.cjs",
    "test:webchat-version": "node ./scripts/validate-webchat-version.cjs",
    "test:e2e": "cd automation_tests && yarn test",
    "test:e2e:build": "yarn build-sample && cd automation_tests && yarn test",
    "test:visual": "cross-env NODE_OPTIONS=--experimental-vm-modules jest -c jest.config.visual.cjs --verbose",
    "test:visual:mobile:ios": "cross-env STORYBOOK_BROWSERS=chromium STORYBOOK_SCREENSHOT_PROFILE=mobile-iphone yarn test:visual",
    "test:visual:mobile:android": "cross-env STORYBOOK_BROWSERS=chromium STORYBOOK_SCREENSHOT_PROFILE=mobile-android yarn test:visual",
    "test:visual:reflow": "cross-env STORYBOOK_BROWSERS=chromium STORYBOOK_SCREENSHOT_PROFILE=reflow-320 yarn test:visual",
    "test:visual:zoom": "cross-env STORYBOOK_BROWSERS=chromium STORYBOOK_SCREENSHOT_PROFILE=zoom-200 yarn test:visual",
    "test:visual:forced-colors": "cross-env STORYBOOK_BROWSERS=chromium STORYBOOK_SCREENSHOT_PROFILE=forced-colors yarn test:visual",
    "test:visual:contrast-more": "cross-env STORYBOOK_BROWSERS=chromium STORYBOOK_SCREENSHOT_PROFILE=contrast-more yarn test:visual",
    "scan:a11y:axe": "node ../tools/accessibility/axeScan.cjs",
    "scan:a11y:axe:gated": "node ../tools/accessibility/axeScan.cjs --gate-rules image-alt,button-name",
    "scan:a11y:axe:build": "yarn build-storybook && yarn scan:a11y:axe",
    "scan:a11y:insights": "node ../tools/accessibility/insightsScan.cjs",
    "scan:a11y:insights:build": "yarn build-storybook && yarn scan:a11y:insights",
    "scan:a11y": "yarn build-storybook && yarn scan:a11y:axe && yarn scan:a11y:insights",
    "test:all": "yarn test:unit && yarn test:visual",
    "build:esm": "babel ./src --config-file ./babel.esm.config.json --out-dir lib/esm --extensions .ts,.js,.tsx --ignore **/*.test.ts,**/*.stories.tsx,**/*.test.tsx,**/*.spec.ts,**/*.spec.tsx",
    "build:cjs": "babel ./src --config-file ./babel.config.json --out-dir lib/cjs --extensions .ts,.js,.tsx --ignore **/*.test.ts,**/*.stories.tsx,**/*.test.tsx,**/*.spec.ts,**/*.spec.tsx && node ./scripts/write-cjs-package.cjs",
    "build:esm:watch": "babel ./src --config-file ./babel.esm.config.json --out-dir lib/esm --extensions .ts,.js,.tsx --watch --ignore **/*.test.ts,**/*.stories.tsx,**/*.test.tsx,**/*.spec.ts,**/*.spec.tsx",
    "build:cjs:watch": "babel ./src --config-file ./babel.config.json --out-dir lib/cjs --extensions .ts,.js,.tsx --watch --ignore **/*.test.ts,**/*.stories.tsx,**/*.test.tsx,**/*.spec.ts,**/*.spec.tsx",
    "build:umd": "webpack --config ./webpack.umd.config.cjs",
    "verify": "yarn install && yarn build-storybook && yarn test:all && yarn build && yarn storybook",
    "testpack": "yarn build && yarn pack",
    "build-sample": "yarn build && cross-env NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack.config.cjs",
    "build-sample:dev": "yarn build && cross-env NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack.dev.config.cjs",
    "test:visual:build": "yarn build-storybook && yarn test:visual",
    "lint": "yarn eslint . --max-warnings=0",
    "prepush": "yarn lint && yarn danger:prepush",
    "danger:prepush": "yarn danger local --dangerfile dangerfile.js --base main",
    "pretest:visual": "yarn playwright install",
    "prepare": "node ./scripts/prepare.cjs",
    "clean": "rimraf lib",
    "dev": "concurrently \"yarn build:esm:watch\" \"webpack --config ./webpack.config.cjs --watch\""
  },
  "lint-staged": {
    "*.{js,ts,tsx}": [
      "eslint --fix",
      "git add"
    ]
  },
  "resolutions": {
    "**/@types/glob": "7.2.0",
    "**/@types/minimatch": "3.0.5",
    "**/@types/trusted-types": "2.0.7",
    "**/join-images": "1.1.5",
    "**/valibot": "1.4.2",
    "**/nanoid": "^3.3.20"
  },
  "jest": {
    "verbose": true,
    "reporters": [
      "default"
    ]
  },
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
