UNPKG

botframework-webchat-component

Version:
166 lines (165 loc) 6.65 kB
{ "name": "botframework-webchat-component", "version": "4.18.0", "description": "React component of botframework-webchat", "main": "./lib/index.js", "types": "./lib/index.d.ts", "exports": { ".": { "import": { "types": "./dist/botframework-webchat-component.d.mts", "default": "./dist/botframework-webchat-component.mjs" }, "require": { "types": "./lib/index.d.ts", "default": "./lib/index.js" } }, "./internal": { "import": { "types": "./dist/botframework-webchat-component.internal.d.mts", "default": "./dist/botframework-webchat-component.internal.mjs" }, "require": { "types": "./lib/internal.d.ts", "default": "./lib/internal.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/**/*", "./internal.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: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: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,tsc,tsup\" \"npm run start:babel\" \"npm run start:typescript\" \"npm run start:tsup\"", "start:babel": "npm run build:babel -- --skip-initial-build --watch", "start:tsup": "npm run build:tsup -- --watch", "start:typescript": "npm run build:typescript -- --watch" }, "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" ], "compute-scroll-into-view": [ "1", "@>=2 does not support IE Mode" ], "markdown-it": [ "13", "markdown-it@14.1.0 has module field and it is breaking Webpack 4 because cross loading CJS and ESM" ], "react-film": [ "3.1.1-main.df870ea", "TEMPORARY: Use a custom version to verify build" ], "react-redux": [ "7" ] }, "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/mdast": "^4.0.3", "@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", "concurrently": "^8.2.2", "core-js": "^3.37.0", "cross-env": "^7.0.3", "node-dev": "^8.0.0", "type-fest": "^4.18.2", "typescript": "^5.4.5" }, "dependencies": { "@emotion/css": "11.11.2", "base64-js": "1.5.1", "botframework-webchat-api": "4.18.0", "botframework-webchat-core": "4.18.0", "classnames": "2.5.1", "compute-scroll-into-view": "1.0.20", "deep-freeze-strict": "1.1.1", "markdown-it": "13.0.2", "math-random": "2.0.1", "mdast-util-from-markdown": "2.0.0", "memoize-one": "6.0.0", "merge-refs": "1.3.0", "prop-types": "15.8.1", "react-chain-of-responsibility": "0.2.0-main.3cb47ab", "react-dictate-button": "2.0.1", "react-film": "3.1.1-main.df870ea", "react-redux": "7.2.9", "react-say": "2.1.0", "react-scroll-to-bottom": "4.2.0", "redux": "5.0.1", "simple-update-in": "2.2.0", "use-propagate": "0.1.0", "use-ref-from": "0.1.0", "valibot": "0.30.0" }, "peerDependencies": { "react": ">= 16.8.6", "react-dom": ">= 16.8.6" }, "localPeerDependencies": { "botframework-webchat-api": "0.0.0-0", "botframework-webchat-core": "0.0.0-0" } }