{
  "name": "botframework-webchat",
  "version": "4.19.2",
  "description": "A highly-customizable web-based chat client for Azure Bot Services.",
  "main": "./dist/botframework-webchat.js",
  "types": "./dist/botframework-webchat.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/botframework-webchat.d.mts",
        "default": "./dist/botframework-webchat.mjs"
      },
      "require": {
        "types": "./dist/botframework-webchat.d.ts",
        "default": "./dist/botframework-webchat.js"
      }
    },
    "./component": {
      "import": {
        "default": "./boot/deprecated/component.mjs"
      },
      "require": {
        "default": "./boot/deprecated/component.js"
      }
    },
    "./component.js": {
      "import": {
        "types": "./dist/botframework-webchat.component.d.mts",
        "default": "./dist/botframework-webchat.component.mjs"
      },
      "require": {
        "types": "./dist/botframework-webchat.component.d.ts",
        "default": "./dist/botframework-webchat.component.js"
      }
    },
    "./decorator": {
      "import": {
        "default": "./boot/deprecated/decorator.mjs"
      },
      "require": {
        "default": "./boot/deprecated/decorator.js"
      }
    },
    "./decorator.js": {
      "import": {
        "types": "./dist/botframework-webchat.decorator.d.mts",
        "default": "./dist/botframework-webchat.decorator.mjs"
      },
      "require": {
        "types": "./dist/botframework-webchat.decorator.d.ts",
        "default": "./dist/botframework-webchat.decorator.js"
      }
    },
    "./hook": {
      "import": {
        "default": "./boot/deprecated/hook.mjs"
      },
      "require": {
        "default": "./boot/deprecated/hook.js"
      }
    },
    "./hook.js": {
      "import": {
        "types": "./dist/botframework-webchat.hook.d.mts",
        "default": "./dist/botframework-webchat.hook.mjs"
      },
      "require": {
        "types": "./dist/botframework-webchat.hook.d.ts",
        "default": "./dist/botframework-webchat.hook.js"
      }
    },
    "./internal": {
      "import": {
        "default": "./boot/deprecated/internal.mjs"
      },
      "require": {
        "default": "./boot/deprecated/internal.js"
      }
    },
    "./internal.js": {
      "import": {
        "types": "./dist/botframework-webchat.internal.d.mts",
        "default": "./dist/botframework-webchat.internal.mjs"
      },
      "require": {
        "types": "./dist/botframework-webchat.internal.d.ts",
        "default": "./dist/botframework-webchat.internal.js"
      }
    },
    "./middleware": {
      "import": {
        "default": "./boot/deprecated/middleware.mjs"
      },
      "require": {
        "default": "./boot/deprecated/middleware.js"
      }
    },
    "./middleware.js": {
      "import": {
        "types": "./dist/botframework-webchat.middleware.d.mts",
        "default": "./dist/botframework-webchat.middleware.mjs"
      },
      "require": {
        "types": "./dist/botframework-webchat.middleware.d.ts",
        "default": "./dist/botframework-webchat.middleware.js"
      }
    },
    "./schema.js": {
      "import": {
        "types": "./dist/botframework-webchat.schema.d.mts",
        "default": "./dist/botframework-webchat.schema.mjs"
      },
      "require": {
        "types": "./dist/botframework-webchat.schema.d.ts",
        "default": "./dist/botframework-webchat.schema.js"
      }
    },
    "./static/*": "./static/*"
  },
  "publishConfig": {
    "access": "public"
  },
  "author": "Microsoft Corporation",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/microsoft/BotFramework-WebChat.git"
  },
  "bugs": {
    "url": "https://github.com/microsoft/BotFramework-WebChat/issues"
  },
  "homepage": "https://github.com/microsoft/BotFramework-WebChat/#readme",
  "files": [
    "./*.js",
    "./CHANGELOG.md",
    "./LICENSE",
    "./README.md",
    "./boot/**/*",
    "./dist/**/*",
    "./src/**/*",
    "./static/**/*"
  ],
  "tsd": {
    "compilerOptions": {
      "allowSyntheticDefaultImports": true,
      "downlevelIteration": true,
      "jsx": "react",
      "module": "NodeNext",
      "noImplicitAny": false,
      "resolveJsonModule": true,
      "skipLibCheck": true,
      "strict": false
    }
  },
  "scripts": {
    "build": "npm run --if-present build:pre && npm run build:run && npm run --if-present build:post",
    "build:post": "npm run build:post:dtsroll && npm run build:post:validate",
    "build:post:dtsroll": "dtsroll ./dist/*.d.* && sed -E -i 's/^([[:space:]]*export[[:space:]]+)type[[:space:]]+(\\{[[:space:]]+type[[:space:]]+)/\\1\\2/' ./dist/*.d.ts",
    "build:post:validate": "npm run build:post:validate:css && npm run build:post:validate:inject-css && npm run build:post:validate:dts",
    "build:post:validate:css": "vg ast-check lightning-css ./dist/*.css",
    "build:post:validate:dts": "vg ast-check dist-types ./dist/*.d.*",
    "build:post:validate:inject-css": "vg ast-check css-inject dist/*.js dist/*.mjs static/*.js",
    "build:pre": "npm run build:pre:local-dependencies && npm run build:pre:watch",
    "build:pre:local-dependencies": "../../scripts/npm/build-local-dependencies.sh",
    "build:pre:watch": "../../scripts/npm/build-watch.sh",
    "build:run": "concurrently --prefix-colors \"auto\" \"npm:build:run:*\"",
    "build:run:static": "node ./esbuild.static.mjs",
    "build:run:tsup": "tsup",
    "bump": "vg bump prod && vg bump dev && (npm audit fix || exit 0)",
    "eslint": "npm run precommit",
    "postversion": "../../scripts/npm/postversion.sh",
    "precommit": "npm run precommit:eslint -- src && npm run precommit:typecheck",
    "precommit:eslint": "../../node_modules/.bin/eslint --report-unused-disable-directives --max-warnings 0",
    "precommit:typecheck": "tsc --project ./src --emitDeclarationOnly false --esModuleInterop true --noEmit --pretty false",
    "preversion": "../../scripts/npm/preversion.sh",
    "start": "../../scripts/npm/notify-build.sh \"src\" \"../repack/adaptivecards/package.json\" \"../repack/base64-js/package.json\" \"../repack/botframework-directlinejs/package.json\" \"../react-hooks/package.json\" \"../react-valibot/package.json\" \"../styles/package.json\" \"../isomorphic-react/package.json\" \"../isomorphic-react-dom/package.json\" \"../repack/microsoft-cognitiveservices-speech-sdk/package.json\" \"../repack/react/package.json\" \"../repack/react@baseline/package.json\" \"../repack/react-dom/package.json\" \"../repack/react-dom@baseline/package.json\" \"../repack/react-dom@umd/package.json\" \"../repack/react-is/package.json\" \"../repack/react@umd/package.json\"",
    "test:tsd": "tsd"
  },
  "pinDependencies": {
    "@types/react": [
      "16",
      "react@16.8.6 is our baseline"
    ],
    "@types/react-dom": [
      "16",
      "react-dom@16.8.6 is our baseline"
    ],
    "adaptivecards": [
      "3.0.6",
      "we should bump manually"
    ],
    "react": [
      "16.8.6",
      "using react@16.8.6 to make sure this is the minimum supported version"
    ],
    "react-dom": [
      "16.8.6",
      "using react-dom@16.8.6 to make sure this is the minimum supported version"
    ],
    "shiki": [
      "2",
      "tsd is complaining about shiki@3 lack of typing for named exports, https://arethetypeswrong.github.io/?p=shiki%403.9.1 says the same thing"
    ]
  },
  "localDependencies": {
    "@msinternal/adaptivecards": "development",
    "@msinternal/base64-js": "development",
    "@msinternal/botframework-directlinejs": "development",
    "@msinternal/botframework-webchat-base": "development",
    "@msinternal/botframework-webchat-react-hooks": "development",
    "@msinternal/botframework-webchat-react-valibot": "development",
    "@msinternal/botframework-webchat-styles": "development",
    "@msinternal/botframework-webchat-tsconfig": "development",
    "@msinternal/isomorphic-react": "development",
    "@msinternal/isomorphic-react-dom": "development",
    "@msinternal/microsoft-cognitiveservices-speech-sdk": "development",
    "@msinternal/object-assign": "development",
    "@msinternal/react": "development",
    "@msinternal/react-baseline": "development",
    "@msinternal/react-dom": "development",
    "@msinternal/react-dom-baseline": "development",
    "@msinternal/react-dom-umd": "development",
    "@msinternal/react-is": "development",
    "@msinternal/react-umd": "development"
  },
  "devDependencies": {
    "@babel/core": "^7.29.7",
    "@babel/plugin-transform-runtime": "^7.29.7",
    "@babel/preset-env": "^7.29.7",
    "@babel/preset-react": "^7.29.7",
    "@babel/preset-typescript": "^7.29.7",
    "@msinternal/adaptivecards": "4.19.2",
    "@msinternal/base64-js": "4.19.2",
    "@msinternal/botframework-directlinejs": "4.19.2",
    "@msinternal/botframework-webchat-base": "4.19.2",
    "@msinternal/botframework-webchat-react-hooks": "4.19.2",
    "@msinternal/botframework-webchat-react-valibot": "4.19.2",
    "@msinternal/botframework-webchat-styles": "4.19.2",
    "@msinternal/botframework-webchat-tsconfig": "4.19.2",
    "@msinternal/isomorphic-react": "4.19.2",
    "@msinternal/isomorphic-react-dom": "4.19.2",
    "@msinternal/microsoft-cognitiveservices-speech-sdk": "4.19.2",
    "@msinternal/object-assign": "4.19.2",
    "@msinternal/react": "4.19.2",
    "@msinternal/react-baseline": "4.19.2",
    "@msinternal/react-dom": "4.19.2",
    "@msinternal/react-dom-baseline": "4.19.2",
    "@msinternal/react-dom-umd": "4.19.2",
    "@msinternal/react-is": "4.19.2",
    "@msinternal/react-umd": "4.19.2",
    "@testduet/given-when-then": "^0.1.0",
    "@types/dom-speech-recognition": "^0.0.11",
    "@types/mdast": "^4.0.4",
    "@types/node": "^25.9.1",
    "@types/react": "^16.14.70",
    "@types/react-dom": "^16.9.25",
    "babel-plugin-istanbul": "^8.0.0",
    "babel-plugin-transform-inline-environment-variables": "^0.4.4",
    "cross-env": "^10.1.0",
    "esbuild": "^0.28.0",
    "micromark-util-types": "^2.0.2",
    "read-pkg": "^10.1.0",
    "tsd": "^0.33.0",
    "type-fest": "^5.6.0",
    "typescript": "^6.0.3"
  },
  "dependencies": {
    "@babel/runtime": "7.29.7",
    "adaptivecards": "3.0.6",
    "botframework-directlinejs": "0.15.8",
    "botframework-directlinespeech-sdk": "4.19.2",
    "botframework-webchat-api": "4.19.2",
    "botframework-webchat-component": "4.19.2",
    "botframework-webchat-core": "4.19.2",
    "classnames": "2.5.1",
    "core-js": "3.49.0",
    "katex": "0.17.0",
    "math-random": "2.0.1",
    "mdast-util-from-markdown": "2.0.3",
    "memoize-one": "6.0.0",
    "micromark": "4.0.2",
    "micromark-extension-gfm": "3.0.0",
    "micromark-util-character": "2.1.1",
    "micromark-util-sanitize-uri": "2.0.1",
    "microsoft-cognitiveservices-speech-sdk": "1.50.0",
    "prop-types": "15.8.1",
    "punycode": "2.3.1",
    "sanitize-html": "2.17.4",
    "shiki": "2.5.0",
    "url-search-params-polyfill": "8.2.5",
    "use-ref-from": "0.2.1",
    "uuid": "14.0.0",
    "valibot": "1.4.1",
    "web-speech-cognitive-services": "8.1.4",
    "whatwg-fetch": "3.6.20"
  },
  "peerDependencies": {
    "react": ">= 16.8.6",
    "react-chain-of-responsibility": "0.4.2",
    "react-dom": ">= 16.8.6"
  }
}
