{ "name": "@azure/communication-common", "version": "2.3.1", "description": "Common package for Azure Communication services.", "sdk-type": "client", "main": "dist/index.js", "module": "dist-esm/src/index.js", "types": "types/communication-common.d.ts", "browser": { "./dist-esm/src/credential/cryptoUtils.js": "./dist-esm/src/credential/cryptoUtils.browser.js", "./dist-esm/src/credential/isNode.js": "./dist-esm/src/credential/isNode.browser.js" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && dev-tool run bundle", "build:node": "tsc -p . && dev-tool run bundle", "build:samples": "echo Skipped.", "build:test": "tsc -p . && dev-tool run bundle", "build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", "clean": "rimraf dist dist-* temp types *.tgz *.log", "execute:samples": "echo skipped", "extract-api": "tsc -p . && api-extractor run --local", "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", "integration-test:browser": "karma start --single-run", "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "lint:fix": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js --fix --fix-type [problem,suggestion]", "lint": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js", "pack": "npm pack 2>&1", "test:browser": "npm run build:test && npm run unit-test:browser && npm run integration-test:browser", "test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node", "test": "npm run build:test && npm run unit-test && npm run integration-test", "unit-test:browser": "karma start --single-run", "unit-test:node": "dev-tool run test:node-ts-input --no-test-proxy=true", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "files": [ "dist/", "dist-esm/src", "types/communication-common.d.ts", "README.md", "LICENSE" ], "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", "cloud", "Azure", "communication", "common" ], "author": "Microsoft Corporation", "license": "MIT", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { "node": ">=18.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-common/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.3.0", "@azure/core-rest-pipeline": "^1.3.2", "@azure/core-tracing": "^1.0.0", "@azure/core-util": "^1.0.0", "events": "^3.0.0", "jwt-decode": "^4.0.0", "tslib": "^2.2.0" }, "devDependencies": { "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/dev-tool": "^1.0.0", "@microsoft/api-extractor": "^7.31.1", "@types/chai-as-promised": "^7.1.0", "@types/chai": "^4.1.6", "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", "@types/sinon": "^17.0.0", "chai-as-promised": "^7.1.1", "chai": "^4.2.0", "cross-env": "^7.0.2", "eslint": "^8.0.0", "inherits": "^2.0.3", "karma-chrome-launcher": "^3.0.0", "karma-coverage": "^2.0.0", "karma-env-preprocessor": "^0.1.1", "karma-firefox-launcher": "^1.1.0", "karma-junit-reporter": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-mocha": "^2.0.1", "karma-sourcemap-loader": "^0.3.8", "karma": "^6.2.0", "mocha": "^10.0.0", "c8": "^8.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "typescript": "~5.3.3", "util": "^0.12.1", "mockdate": "^3.0.5", "ts-node": "^10.0.0", "esm": "^3.2.18" } }