communication-react-19
Version:
React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)
184 lines • 8.5 kB
JSON
{
"name": "communication-react-19",
"version": "1.0.1",
"sideEffects": false,
"description": "React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)",
"keywords": [
"Communication",
"Chat",
"Call",
"VOIP",
"Video",
"Video conferencing",
"Teams"
],
"homepage": "https://github.com/Ocuco/communication-ui-library",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Ocuco/communication-ui-library.git"
},
"bugs": {
"url": "https://github.com/Ocuco/communication-ui-library/issues"
},
"types": "dist/communication-react-19.d.ts",
"dependencies": {
"@azure/communication-common": "^2.3.2-beta.1 || ^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.37.1-beta.1 || ^1.36.1",
"@azure/communication-chat": "1.6.0-beta.7 || >=1.5.4",
"@types/react": ">=16.8.0 <21.0.0",
"@types/react-dom": ">=16.8.0 <21.0.0",
"react": ">=16.8.0 <21.0.0",
"react-dom": ">=16.8.0 <21.0.0"
},
"main": "./dist/dist-cjs/communication-react/index.js",
"module": "./dist/dist-esm/communication-react/src/index.js",
"exports": {
".": {
"types": "./dist/communication-react-19.d.ts",
"import": "./dist/dist-esm/communication-react/src/index.js",
"require": "./dist/dist-cjs/communication-react/index.js"
},
"./javascript-loaders": {
"types": "./dist/dist-esm/communication-react/src/javascript-loaders.d.ts",
"import": "./dist/dist-esm/communication-react/src/javascript-loaders.js"
}
},
"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",
"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"
},
"devDependencies": {
"@azure/communication-calling": "1.37.1-beta.1 || ^1.36.1",
"@azure/communication-calling-effects": "^1.1.4",
"@azure/core-auth": "^1.7.2",
"@babel/cli": "^7.27.2",
"@internal/calling-component-bindings": "1.29.0-beta.0",
"@internal/calling-stateful-client": "1.29.0-beta.0",
"@internal/chat-component-bindings": "1.29.0-beta.0",
"@internal/chat-stateful-client": "1.29.0-beta.0",
"@internal/fake-backends": "1.29.0-beta.0",
"@internal/react-components": "1.29.0-beta.0",
"@internal/react-composites": "1.29.0-beta.0",
"@internal/acs-ui-javascript-loaders": "1.29.0-beta.0",
"@babel/core": "^7.27.4",
"@microsoft/api-documenter": "~7.26.22",
"@microsoft/api-extractor": "~7.52.4",
"@rollup/plugin-json": "^6.0.1",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.3.0",
"@types/dompurify": "^3.0.5",
"@types/jest": "^29.5.14",
"@types/json-stringify-safe": "^5.0.3",
"@types/node": "^22.15.18",
"@types/react-dom": "18.3.1",
"@types/react-linkify": "^1.0.4",
"@types/react": "18.3.12",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^8.34.0",
"@typescript-eslint/parser": "^8.34.0",
"ajv": "^8.17.1",
"copyfiles": "^2.4.1",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"env-cmd": "^10.1.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "5.4.1",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react": "^7.37.5",
"eslint": "^9.28.0",
"if-env": "^1.0.4",
"jest": "29.7.0",
"json-stringify-safe": "^5.0.1",
"node-forge": ">=1.3.1",
"prettier": "3.5.3",
"pretty-quick": "^4.2.2",
"react-dom": "18.3.1",
"react-is": "^18.3.1",
"react": "18.3.1",
"regenerator-runtime": "^0.14.0",
"renamer": "^4.0.0",
"rimraf": "^2.6.2",
"rollup": "^4.40.2",
"scheduler": "^0.26.0",
"source-map-explorer": "^2.5.0",
"ts-jest": "^29.3.3",
"ts-node": "^10.9.2",
"ts-patch": "^3.1.2",
"type-fest": "^4.40.0",
"typescript": "5.4.5",
"typescript-transform-paths": "^3.5.3",
"@eslint/eslintrc": "~3.3.1",
"@eslint/js": "~9.28.0",
"eslint-plugin-headers": "~1.3.3",
"globals": "~16.2.0",
"@eslint/compat": "~1.2.9",
"jiti": "~2.4.2"
},
"publishConfig": {
"access": "public"
}
}