UNPKG

@azure/communication-react

Version:

React library for building modern communication user experiences utilizing Azure Communication Services

113 lines 5.82 kB
{ "name": "@azure/communication-react", "version": "1.29.0", "sideEffects": false, "description": "React library for building modern communication user experiences utilizing Azure Communication Services", "keywords": [ "Communication", "Chat", "Call", "VOIP", "Video", "Video conferencing", "Teams" ], "homepage": "https://azure.github.io/communication-ui-library/", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/Azure/communication-ui-library.git" }, "bugs": { "url": "https://github.com/Azure/communication-ui-library/issues/new/choose" }, "types": "dist/communication-react.d.ts", "dependencies": { "@azure/communication-common": "^2.3.1", "@azure/core-paging": "^1.5.0", "@azure/logger": "^1.0.4", "@fluentui/react-components": "9.62.0", "@fluentui/react": "^8.123.0", "@fluentui/react-file-type-icons": "8.13.2", "@fluentui/react-hooks": "^8.8.18", "@fluentui/react-icons": "^2.0.302", "@fluentui/react-window-provider": "^2.2.30", "@fluentui-contrib/react-chat": "0.1.11", "@griffel/react": "^1.5.30", "@types/events": "^3.0.3", "copy-to-clipboard": "^3.3.1", "dompurify": "^3.2.5", "events": "^3.3.0", "html-react-parser": "^5.2.3", "immer": "10.1.1", "memoize-one": "^5.2.1", "nanoid": "3.3.8", "react-linkify": "^1.0.0-alpha", "react-use-draggable-scroll": "^0.4.7", "reselect": "^4.0.0", "roosterjs-content-model-api": "^9.27.0", "roosterjs-content-model-core": "^9.27.0", "roosterjs-content-model-dom": "^9.27.0", "roosterjs-content-model-plugins": "^9.27.0", "roosterjs-content-model-types": "^9.27.0", "textarea-caret-ts": "^4.1.1", "use-debounce": "^10.0.4", "uuid": "^9.0.0" }, "peerDependencies": { "@azure/communication-calling-effects": "^1.1.4", "@azure/communication-calling": "^1.36.1", "@azure/communication-chat": ">=1.5.4", "@types/react": ">=16.8.0 <19.0.0", "@types/react-dom": ">=16.8.0 <19.0.0", "react": ">=16.8.0 <19.0.0", "react-dom": ">=16.8.0 <19.0.0" }, "main": "./dist/dist-cjs/communication-react/index.js", "module": "./dist/dist-esm/communication-react/src/index.js", "exports": { ".": { "main": "./dist/dist-cjs/communication-react/index.js", "module": "./dist/dist-esm/communication-react/src/index.js", "types": "./dist/communication-react.d.ts" }, "./javascript-loaders": { "module": "./dist/dist-esm/communication-react/src/javascript-loaders.js", "types": "./dist/dist-esm/communication-react/src/javascript-loaders.d.ts" } }, "scripts": { "copy-original": "cpy \"../*/src/**\" ./preprocess-dist && renamer --find src --replace preprocessed ./preprocess-dist/**/*", "preprocess": "babel ../*/src --out-dir ../preprocessed --extensions \".ts,.tsx\" --keep-file-extension --config-file ./.babelrc.js --relative && rimraf ../preprocessed", "copy-preprocess": "cpy \"../*/preprocessed/**\" ./preprocess-dist && renamer --find preprocessed --replace src ./preprocess-dist/**/*", "build:test": "tspc", "build": "rushx check-deps && rushx _by-flavor \"rushx _build:by-flavor\"", "build:cjs": "rollup -c --silent", "build:esm": "npm run _if-preprocess && rushx copy-original && rushx preprocess && rushx copy-preprocess && tspc -project tsconfig.preprocess.json || (if-env COMMUNICATION_REACT_FLAVOR=beta && tspc)", "build:minify": "rollup -c rollup.config.mjs", "build:watch": "", "build:api": "rushx _by-flavor \"rushx _api-extractor:complete:by-flavor\"", "clean": "rimraf dist && rimraf ../**/preprocessed && rimraf ../**/preprocess-dist", "test": "", "test:ci-coverage": "", "test:coverage": "", "check-deps": "node scripts/verifyDependencies", "api-extractor": "rushx _by-flavor \"rushx build:esm && rushx _api-extractor:by-flavor\"", "generate-doc": "api-documenter markdown -i temp -o docGen", "prettier": "prettier --no-error-on-unmatched-pattern --write --config ../../.prettierrc --ignore-path=../../.prettierignore \"**/*.js\" \"**/*.jsx\" \"**/*.ts\" \"**/*.tsx\"", "prettier:check": "prettier --no-error-on-unmatched-pattern --check --config ../../.prettierrc --ignore-path=../../.prettierignore \"**/*.js\" \"**/*.jsx\" \"**/*.ts\" \"**/*.tsx\"", "lint": "eslint --max-warnings 0 \"*/**/*.{ts,tsx}\"", "lint:fix": "rushx lint --fix --", "lint:quiet": "rushx lint -- --quiet", "postpack": "copyfiles -E \"./*.tgz\" release", "check-breaking-change": "tsc --project breaking-change-check/tsconfig.json --strict --noEmit --allowSyntheticDefaultImports", "copy-api-snapshot": "cpy './dist/communication-react.d.ts' ./breaking-change-check/snapshots/", "_if-preprocess": "if-env COMMUNICATION_REACT_FLAVOR=stable || if-env COMMUNICATION_REACT_FLAVOR=beta-release", "_if-beta": "if-env COMMUNICATION_REACT_FLAVOR=beta || if-env COMMUNICATION_REACT_FLAVOR=beta-release", "_api-extractor:by-flavor": "if-env COMMUNICATION_REACT_FLAVOR=stable && api-extractor run -c api-extractor.stable.json --local || (rushx _if-beta && api-extractor run --local)", "_api-extractor:complete:by-flavor": "if-env COMMUNICATION_REACT_FLAVOR=stable && api-extractor run -c api-extractor-complete.stable.json --local || (rushx _if-beta && api-extractor run -c api-extractor-complete.json --local)", "_build:by-flavor": "rushx clean && rushx build:esm && rushx build:cjs && rushx build:api", "_current-flavor": "echo You are running under COMMUNICATION_REACT_FLAVOR: && env-cmd -f ../../common/config/env/.env node -p process.env.COMMUNICATION_REACT_FLAVOR", "_by-flavor": "rushx _current-flavor && env-cmd -f ../../common/config/env/.env --use-shell" } }