UNPKG

@azure/communication-chat

Version:
147 lines (146 loc) 4.82 kB
{ "name": "@azure/communication-chat", "version": "1.6.0", "description": "Azure client library for Azure Communication Chat services", "sdk-type": "client", "main": "./dist/commonjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/commonjs/index.d.ts", "scripts": { "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "build:samples": "echo skipped.", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "clean": "dev-tool run vendored rimraf --glob dist dist-* temp types *.tgz *.log", "execute:samples": "dev-tool samples run samples-dev", "extract-api": "dev-tool run build-package && dev-tool run extract-api", "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "generate:client": "autorest --typescript ./swagger/README.md", "lint": "eslint package.json src test", "lint:fix": "eslint package.json src test --fix --fix-type [problem,suggestion]", "pack": "npm pack 2>&1", "test": "npm run test:node && npm run test:browser", "test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", "test:node": "dev-tool run test:vitest", "test:node:esm": "dev-tool run test:vitest --esm", "update-snippets": "dev-tool run update-snippets" }, "files": [ "dist/", "README.md", "LICENSE" ], "browser": "./dist/browser/index.js", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", "cloud", "Azure", "communication", "chat" ], "author": "Microsoft Corporation", "license": "MIT", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { "node": ">=20.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-chat/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/communication-common": "^2.3.1", "@azure/communication-signaling": "1.0.0-beta.34", "@azure/core-auth": "^1.9.0", "@azure/core-client": "^1.9.2", "@azure/core-paging": "^1.1.1", "@azure/core-rest-pipeline": "^1.18.0", "@azure/core-tracing": "^1.0.0", "@azure/logger": "^1.0.0", "events": "^3.0.0", "tslib": "^2.8.1" }, "devDependencies": { "@azure-tools/test-credential": "^2.0.0", "@azure-tools/test-recorder": "^4.1.0", "@azure-tools/test-utils-vitest": "^1.0.0", "@azure/communication-identity": "^1.3.1", "@azure/core-util": "^1.11.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@types/node": "^20.0.0", "@vitest/browser": "^3.0.9", "@vitest/coverage-istanbul": "^3.0.9", "dotenv": "^16.0.0", "eslint": "^9.9.0", "playwright": "^1.48.2", "typescript": "~5.8.2", "vitest": "^3.0.9" }, "//metadata": { "constantPaths": [ { "path": "src/generated/src/chatApiClient.ts", "prefix": "packageDetails" }, { "path": "src/generated/src/tracing.ts", "prefix": "packageVersion" }, { "path": "swagger/README.md", "prefix": "package-version" } ] }, "//sampleConfiguration": { "productName": "Azure Communication Services - Chat", "productSlugs": [ "azure", "azure-communication-services" ], "requiredResources": { "Azure Communication Services account": "https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource" } }, "type": "module", "tshy": { "exports": { "./package.json": "./package.json", ".": "./src/index.ts" }, "dialects": [ "esm", "commonjs" ], "esmDialects": [ "browser", "react-native" ], "selfLink": false, "project": "./tsconfig.src.json" }, "exports": { "./package.json": "./package.json", ".": { "browser": { "types": "./dist/browser/index.d.ts", "default": "./dist/browser/index.js" }, "react-native": { "types": "./dist/react-native/index.d.ts", "default": "./dist/react-native/index.js" }, "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/commonjs/index.d.ts", "default": "./dist/commonjs/index.js" } } } }