@azure/communication-common
Version:
Common package for Azure Communication services.
113 lines • 3.75 kB
JSON
{
"name": "@azure/communication-common",
"version": "2.4.2",
"description": "Common package for Azure Communication services.",
"sdk-type": "client",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/commonjs/index.d.ts",
"browser": "./dist/browser/index.js",
"files": [
"dist/",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Azure/azure-sdk-for-js",
"directory": "sdk/communication/communication-common"
},
"keywords": [
"azure",
"cloud",
"Azure",
"communication",
"common"
],
"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-common/README.md",
"sideEffects": false,
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
"dependencies": {
"@azure-rest/core-client": "^2.3.3",
"@azure/abort-controller": "^2.1.2",
"@azure/core-auth": "^1.9.0",
"@azure/core-rest-pipeline": "^1.17.0",
"@azure/core-tracing": "^1.2.0",
"@azure/core-util": "^1.11.0",
"events": "^3.3.0",
"jwt-decode": "^4.0.0",
"tslib": "^2.8.1"
},
"devDependencies": {
"@azure/identity": "4.13.0",
"@azure/logger": "^1.1.4",
"@types/node": "^20.19.25",
"@vitest/browser-playwright": "^4.1.2",
"@vitest/coverage-istanbul": "^4.1.2",
"cross-env": "^10.1.0",
"eslint": "^9.39.1",
"mockdate": "^3.0.5",
"nock": "^13.5.6",
"playwright": "^1.60.0",
"prettier": "^3.6.2",
"react-native": "^0.84.1",
"rimraf": "^6.1.0",
"typescript": "~6.0.2",
"vitest": "^4.1.2",
"@azure-tools/test-utils-vitest": "^2.0.1",
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/dev-tool": "^1.0.0"
},
"type": "module",
"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"
}
}
},
"imports": {
"#platform/*": {
"default": "./src/*.ts"
}
},
"scripts": {
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
"build:samples": "echo Skipped.",
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf --glob dist dist-* temp types *.tgz *.log",
"execute:samples": "echo skipped",
"extract-api": "dev-tool run build-package && dev-tool run extract-api",
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"lint": "eslint package.json src test",
"lint:fix": "eslint package.json src test --fix --fix-type [problem,suggestion]",
"pack": "pnpm pack 2>&1",
"test": "tsc -b --noEmit && npm run test:node && npm run test:browser",
"test:browser": "dev-tool run test:vitest --no-test-proxy --browser",
"test:node": "dev-tool run test:vitest --no-test-proxy",
"test:node:live": "dev-tool run test:vitest --no-test-proxy",
"update-snippets": "dev-tool run update-snippets"
}
}