{
  "name": "botframework-webchat-api",
  "version": "4.18.0",
  "description": "React DOM component of botframework-webchat",
  "main": "./lib/index.js",
  "types": "./lib/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/botframework-webchat-api.d.mts",
        "default": "./dist/botframework-webchat-api.mjs"
      },
      "require": {
        "types": "./lib/index.d.ts",
        "default": "./lib/index.js"
      }
    },
    "./internal": {
      "import": {
        "types": "./dist/botframework-webchat-api.internal.d.mts",
        "default": "./dist/botframework-webchat-api.internal.mjs"
      },
      "require": {
        "types": "./lib/internal.d.ts",
        "default": "./lib/internal.js"
      }
    },
    "./decorator": {
      "import": {
        "types": "./dist/botframework-webchat-api.decorator.d.mts",
        "default": "./dist/botframework-webchat-api.decorator.mjs"
      },
      "require": {
        "types": "./lib/decorator/index.d.ts",
        "default": "./lib/decorator/index.js"
      }
    }
  },
  "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"
  },
  "files": [
    "./dist/**/*",
    "./*.js",
    "./lib/**/*",
    "./src/**/*"
  ],
  "homepage": "https://github.com/microsoft/BotFramework-WebChat/tree/main/packages/component#readme",
  "scripts": {
    "auditfix": "npm audit fix --legacy-peer-deps || exit 0",
    "build": "npm run build:globalize && npm run build:tsup && npm run build:typescript && npm run build:babel",
    "build:babel": "cross-env build_tool=babel module_format=commonjs babel src --copy-files --extensions .js,.ts,.tsx --ignore **/*.spec.js,**/*.spec.ts,**/*.spec.tsx,**/*.test.js,**/*.test.ts,**/*.test.tsx,__tests__/**/*.js,__tests__/**/*.ts,__tests__/**/*.tsx --no-copy-ignored --out-dir lib --verbose",
    "build:globalize": "node scripts/createPrecompiledGlobalize.mjs",
    "build:tsup": "tsup --config ./tsup.config.ts",
    "build:typescript": "tsc --project src/tsconfig.json",
    "bump": "npm run bump:prod && npm run bump:dev && npm run bump:auditfix",
    "bump:auditfix": "npm audit fix --legacy-peer-deps || exit 0",
    "bump:dev": "if [ `cat package.json | jq -r '.devDependencies | length'` -ne 0 ]; then npm install --legacy-peer-deps $(cat package.json | jq -r '(.pinDependencies // {}) as $p | ((.devDependencies // {}) | keys) | map(. + \"@\" + ($p[.] // [\"latest\"])[0]) | .[]'); fi",
    "bump:prod": "if [ `cat package.json | jq -r '.dependencies | length'` -ne 0 ]; then npm install --legacy-peer-deps --save-exact $(cat package.json | jq -r '(.pinDependencies // {}) as $p | ((.dependencies // {}) | keys) | map(. + \"@\" + ($p[.] // [\"latest\"])[0]) | .[]'); fi",
    "eslint": "npm run precommit",
    "postauditfix": "npm run postbump",
    "postbump": "cat package.json | jq '. + (.dependencies = ((.dependencies + (.localPeerDependencies // {})) | to_entries | sort_by(.key) | from_entries)) | (.devDependencies = ((.devDependencies + (.localPeerDevDependencies // {})) | to_entries | sort_by(.key) | from_entries))' > package-temp.json && mv package-temp.json package.json",
    "preauditfix": "npm run prebump",
    "prebump": "cat package.json | jq '(((.localPeerDependencies // {}) | keys | map([\"dependencies\", .])) + ((.localPeerDevDependencies // {}) | keys | map([\"devDependencies\", .]))) as $localPeerPaths | delpaths($localPeerPaths)' > package-temp.json && mv package-temp.json package.json",
    "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",
    "prestart": "npm run build:babel",
    "start": "concurrently --kill-others --names \"babel,globalize,tsc\" \"npm run start:babel\" \"npm run start:globalize\" \"npm run start:typescript\" \"npm run start:tsup\"",
    "start:babel": "npm run build:babel -- --skip-initial-build --watch",
    "start:globalize": "node-dev --respawn scripts/createPrecompiledGlobalize.mjs",
    "start:tsup": "npm run build:tsup -- --watch",
    "start:typescript": "npm run build:typescript -- --watch"
  },
  "devDependencies": {
    "@babel/cli": "^7.18.10",
    "@babel/core": "^7.19.1",
    "@babel/preset-env": "^7.19.1",
    "@babel/preset-react": "^7.18.6",
    "@babel/preset-typescript": "^7.18.6",
    "@types/dom-speech-recognition": "^0.0.4",
    "@types/node": "^20.12.11",
    "@types/react": "^16.14.60",
    "babel-plugin-istanbul": "^6.1.1",
    "babel-plugin-transform-inline-environment-variables": "^0.4.4",
    "cldr-data": "4.18.0",
    "concurrently": "^8.2.2",
    "core-js": "^3.37.0",
    "cross-env": "^7.0.3",
    "globalize-compiler": "^1.1.1",
    "iana-tz-data": "^2019.1.0",
    "node-dev": "^8.0.0",
    "type-fest": "^4.18.2",
    "typescript": "^5.4.5"
  },
  "dependencies": {
    "botframework-webchat-core": "4.18.0",
    "globalize": "1.7.0",
    "math-random": "2.0.1",
    "prop-types": "15.8.1",
    "react-chain-of-responsibility": "0.2.0-main.3cb47ab",
    "react-redux": "7.2.9",
    "redux": "5.0.1",
    "simple-update-in": "2.2.0",
    "use-ref-from": "0.1.0",
    "valibot": "0.30.0"
  },
  "peerDependencies": {
    "react": ">= 16.8.6",
    "react-dom": ">= 16.8.6"
  },
  "localPeerDependencies": {
    "botframework-webchat-core": "0.0.0-0"
  },
  "localPeerDevDependencies": {
    "cldr-data": "36.0.0-0"
  },
  "pinDependencies": {
    "@babel/cli": [
      "7.18.10",
      "@babel/*@7.21 is causing out-of-memory (OOM) issues"
    ],
    "@babel/core": [
      "7.19.1",
      "@babel/*@7.21 is causing out-of-memory (OOM) issues"
    ],
    "@babel/preset-env": [
      "7.19.1",
      "@babel/*@7.21 is causing out-of-memory (OOM) issues"
    ],
    "@babel/preset-react": [
      "7.18.6",
      "@babel/*@7.21 is causing out-of-memory (OOM) issues"
    ],
    "@babel/preset-typescript": [
      "7.18.6",
      "@babel/*@7.21 is causing out-of-memory (OOM) issues"
    ],
    "@types/react": [
      "16",
      "react@16.8.6 is our baseline"
    ],
    "react-redux": [
      "7"
    ]
  }
}
