{ "name": "webex-js-sdk", "description": "JavaScript SDK for interacting with the Webex API", "homepage": "https://github.com/webex/webex-js-sdk", "bugs": { "url": "https://github.com/webex/webex-js-sdk/issues" }, "private": true, "workspaces": [ "./packages/@webex/*", "./packages/webex", "./packages/webex-node", "./packages/calling", "./packages/byods", "./packages/byods-demo-server", "./packages/webexconnect", "./packages/config/*", "./packages/legacy/*", "./packages/tools/*" ], "license": "Cisco's General Terms (https://www.cisco.com/site/us/en/about/legal/contract-experience/index.html)", "author": "devsupport@webex.com", "engines": { "node": "18.x", "npm": ">=10.5" }, "main": "src/index.js", "repository": { "type": "git", "url": "https://github.com/webex/webex-js-sdk" }, "scripts": { "@all": "yarn @workspaces run", "@legacy": "yarn @workspaces --from \"{@webex/common,@webex/common-evented,@webex/common-timers,@webex/helper-html,@webex/helper-image,@webex/http-core,@webex/internal-plugin-avatar,@webex/internal-plugin-board,@webex/internal-plugin-calendar,@webex/internal-plugin-conversation,@webex/internal-plugin-device,@webex/internal-plugin-ai-assistant,@webex/internal-plugin-dss,@webex/internal-plugin-ediscovery,@webex/internal-plugin-encryption,@webex/internal-plugin-feature,@webex/internal-plugin-flag,@webex/internal-plugin-identity,@webex/internal-plugin-llm,@webex/internal-plugin-locus,@webex/internal-plugin-lyra,@webex/internal-plugin-mercury,@webex/internal-plugin-metrics,@webex/internal-plugin-presence,@webex/internal-plugin-scheduler,@webex/internal-plugin-search,@webex/internal-plugin-support,@webex/internal-plugin-team,@webex/internal-plugin-user,@webex/internal-plugin-voicea,@webex/internal-plugin-wdm,@webex/jsdoctrinetest,@webex/media-helpers,@webex/plugin-attachment-actions,@webex/plugin-authorization,@webex/plugin-authorization-browser,@webex/plugin-authorization-browser-first-party,@webex/plugin-authorization-node,@webex/plugin-device-manager,@webex/plugin-logger,@webex/plugin-meetings,@webex/plugin-encryption,@webex/plugin-memberships,@webex/plugin-messages,@webex/plugin-people,@webex/plugin-presence,@webex/plugin-rooms,@webex/plugin-team-memberships,@webex/plugin-teams,@webex/plugin-webhooks,@webex/recipe-private-web-client,@webex/storage-adapter-local-forage,@webex/storage-adapter-local-storage,@webex/storage-adapter-session-storage,@webex/storage-adapter-spec,@webex/test-helper-appid,@webex/test-helper-automation,@webex/test-helper-chai,@webex/test-helper-file,@webex/test-helper-make-local-url,@webex/test-helper-mocha,@webex/test-helper-mock-web-socket,@webex/test-helper-mock-webex,@webex/test-helper-refresh-callback,@webex/test-helper-retry,@webex/test-helper-server,@webex/test-helper-test-users,@webex/test-users,@webex/webex-core,@webex/webex-server,@webex/webrtc,@webex/xunit-with-logs,webex}\" run", "@legacy-tools": "yarn @workspaces --topological-dev --from \"{@webex/babel-config-legacy,@webex/env-config-legacy,@webex/eslint-config-legacy,@webex/jest-config-legacy,@webex/legacy-tools}\" run", "@tools": "yarn @workspaces --topological-dev --from \"{@webex/cli-tools,@webex/package-tools}\" run", "@workspaces": "yarn workspaces foreach --parallel --topological --verbose", "clean": "rimraf \"packages/@webex/*/.coverage\" \"packages/@webex/*/dist\" \"packages/@webex/*/types\" \"packages/webex/.coverage\" \"packages/webex/dist\"", "prebuild": "yarn run clean", "build:publish": "yarn build:package && yarn workspaces foreach --parallel --topological --verbose run build:src", "build:tools": "yarn workspaces foreach --from '@webex/*-tools' --topological-dev --parallel --verbose run build:src", "setup:karma-https": "./scripts/setup-karma-https.sh", "build:local": "yarn ws:tools && yarn workspace @webex/webex-core run build:src && yarn workspaces foreach --parallel --topological --verbose run build:src && yarn run samples:build", "build": "yarn workspace @webex/media-helpers run build:src && yarn workspace @webex/calling run build:src && node ./tooling/index.js build && yarn && yarn ws:tools build && yarn run build:tsc", "build:tsc": "yarn run tsc -p ./config/tsconfig.typecheck.json --noEmit && yarn workspace @webex/internal-plugin-metrics run build && yarn workspace @webex/plugin-meetings run build && yarn workspace @webex/plugin-encryption run build", "build:script": "node ./tooling/index.js build --umd", "build:skip-samples": "node ./tooling/index.js build --skip-samples && yarn workspace @webex/internal-plugin-metrics run build && yarn workspace @webex/plugin-meetings run build && yarn workspace @webex/plugin-encryption run build", "build:dev": "NODE_ENV=development node ./tooling/index.js build", "prebuild:modules": "yarn && yarn @tools build:src && yarn @legacy-tools build:src && yarn workspace @webex/webex-core build:src && yarn @all build:src", "prebuild:docs": "rimraf ./docs/api", "build:docs": "yarn workspace @webex/plugin-presence run build:docs && yarn workspace @webex/calling run build:docs && yarn workspace @webex/byods run build:docs && yarn workspace @webex/contact-center run build:docs && yarn workspace @webex/plugin-encryption run build:docs && documentation build --config documentation/config.yml --format html --output ./docs/api --github ./packages/webex/src/index.js ./packages/@webex/contact-center/src/index.[tj]s ./packages/@webex/plugin-*/src/index.[tj]s --babel=./babel.config.json", "check-karma-output": "./scripts/analyze-output.sh", "build:package": "node ./tooling/index.js build", "changelog:generate": "npx standard-changelog", "lint": "yarn && yarn ws:tools build && yarn run --silent eslint .", "lint:commitmsg": "commitlint -e $GIT_PARAMS", "lint:staged": "lint-staged", "test": "node ./tooling/index.js test", "test:unit": "node ./tooling/index.js test --unit --node", "test:integration": "node ./tooling/index.js test --integration --browser", "test:ci:github": "node ./tooling/index.js ci --github", "test:ci:integration": "node ./tooling/index.js ci --integration", "caroots:generate": "yarn workspace @webex/kms-caroots run webex-kms-caroots", "distsrc": "find ./packages -name 'package.json' -print0 | xargs -0 sed -ibak 's#\"main\": \"dist/index.js#\"main\": \"src/index.js#' && find ./packages -name '*bak' -print0 | xargs -0 rimraf", "srcdist": "find ./packages -name 'package.json' -print0 | xargs -0 sed -ibak 's#\"main\": \"src/index.js#\"main\": \"dist/index.js#' && find ./packages -name '*bak' -print0 | xargs -0 rimraf", "get-current-version": "node ./tooling/index.js version current", "get-next-version": "node ./tooling/index.js version next --alwaysIncrement --includeSamples", "deps:generate": "node ./tooling/dep2.js", "samples:build": "node ./tooling/index.js build --only-samples", "samples:serve": "webpack serve --color --env NODE_ENV=development", "samples:serve:integration": "webpack serve --color --env NODE_ENV=test", "samples:test": "NODE_ENV=test npx wdio run wdio.conf.js", "test:e2e": "yarn workspaces foreach run test:e2e", "samples:test:mobile": "NODE_ENV=test wdio run ./wdio.conf.mobile.js", "tooling": "node ./tooling/index.js", "preinstall": "[ -f ./package-lock.json ] && [ \"$npm_config_refer\" != \"ci\" ] && npx npm-force-resolutions || exit 0", "release": "standard-version -a", "release:dry-run": "standard-version --dry-run", "depcheck": "./tooling/depcheck.js", "postinstall": "patch-package && husky install", "ws:tools": "yarn workspaces foreach --parallel --recursive --topological-dev --verbose --from '@webex/*-tools' run build:src", "package-tools": "webex-package-tools" }, "resolutions": { "@webex/json-multistream": "2.4.3", "node-forge": "^1.4.3", "pkijs/asn1js": "3.0.10" }, "devDependencies": { "@babel/cli": "^7.17.10", "@babel/core": "^7.27.1", "@babel/eslint-parser": "^7.17.0", "@babel/generator": "^7.24.7", "@babel/node": "^7.14.9", "@babel/plugin-proposal-async-generator-functions": "^7.14.9", "@babel/plugin-proposal-class-properties": "^7.14.5", "@babel/plugin-proposal-decorators": "^7.14.5", "@babel/plugin-proposal-export-default-from": "^7.14.5", "@babel/plugin-proposal-export-namespace-from": "^7.14.5", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5", "@babel/plugin-proposal-object-rest-spread": "^7.18.9", "@babel/plugin-proposal-optional-chaining": "^7.14.5", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-transform-classes": "^7.14.9", "@babel/plugin-transform-runtime": "^7.14.5", "@babel/polyfill": "^7.12.1", "@babel/preset-env": "^7.17.10", "@babel/preset-typescript": "^7.18.6", "@babel/register": "^7.17.7", "@babel/runtime-corejs2": "^7.14.8", "@babel/template": "^7.14.5", "@babel/traverse": "^7.14.9", "@babel/types": "^7.14.9", "@commitlint/cli": "^17.1.2", "@commitlint/config-conventional": "^17.1.0", "@playwright/test": "^1.58.2", "@sinonjs/fake-timers": "^6.0.1", "@types/circular-dependency-plugin": "^5", "@types/format-util": "^1", "@types/jasmine": "^4", "@types/nodemailer": "^7", "@types/shelljs": "^0", "@typescript-eslint/eslint-plugin": "^5.38.1", "@typescript-eslint/parser": "^5.38.1", "@wdio/allure-reporter": "^7.19.5", "@wdio/browserstack-service": "^7.19.5", "@wdio/cli": "^7.19.6", "@wdio/firefox-profile-service": "^7.19.5", "@wdio/junit-reporter": "^7.19.5", "@wdio/local-runner": "^8.39.0", "@wdio/mocha-framework": "^7.19.5", "@wdio/sauce-service": "^7.19.5", "@wdio/spec-reporter": "^7.19.5", "@wdio/static-server-service": "^7.19.5", "@webex/cli-tools": "workspace:*", "@webex/package-tools": "workspace:*", "appium-adb": "^12.5.0", "babel-loader": "^8.2.2", "babel-plugin-lodash": "^3.3.4", "babel-plugin-module-resolver": "^5.0.2", "babelify": "^10.0.0", "browserify": "^17.0.0", "browserify-middleware": "^8.1.1", "builtins": "^5.1.0", "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "chromedriver": "^119.0.1", "circular-dependency-plugin": "^5.2.2", "copy-webpack-plugin": "11.0.0", "core-js": "^3.26.0", "debug": "^4.3.4", "detective": "^5.2.1", "documentation": "^14.0.1", "documentation-theme-utils": "^3.0.0", "dotenv": "^4.0.0", "envify": "^4.1.0", "eslint": "^8.24.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-prettier": "^8.5.0", "eslint-import-resolver-typescript": "^2.4.0", "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-inclusive-language": "^2.2.0", "eslint-plugin-jasmine": "^4.1.3", "eslint-plugin-jest": "^26.1.1", "eslint-plugin-jsdoc": "^40.0.0", "eslint-plugin-json": "^3.1.0", "eslint-plugin-mocha": "^10.1.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-tsdoc": "^0.2.14", "expect-webdriverio": "^3.3.1", "express": "^4.19.2", "express-session": "^1.16.2", "express-validator": "^5.3.1", "firefox-profile": "^4.0.0", "fs-extra": "^8.1.0", "geckodriver": "^4.4.2", "glob": "^7.1.4", "humanize-string": "^1.0.2", "husky": "^7.0.4", "intern": "^4.10.1", "istanbul": "^0.4.5", "jasmine": "^4.5.0", "jest": "^29.3.1", "jest-environment-jsdom": "^29.1.2", "jest-html-reporters": "^3.0.11", "jest-junit": "^14.0.1", "jsdom": "19.0.0", "jsdom-global": "3.0.2", "karma": "^6.4.3", "karma-browserify": "^8.1.0", "karma-browserstack-launcher": "^1.6.0", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.1.0", "karma-coverage": "^2.0.3", "karma-edgium-launcher": "^4.0.0-0", "karma-firefox-launcher": "^2.1.0", "karma-ie-launcher": "^1.0.0", "karma-junit-reporter": "^2.0.1", "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-opera-launcher": "^1.0.0", "karma-safari-launcher": "^1.0.0", "karma-sauce-launcher": "^4.3.6", "lint-staged": "^13.0.3", "lodash": "^4.17.21", "mkdirp": "^0.5.1", "mocha": "10.0", "mocha-junit-reporter": "^2.1.0", "mocha-steps": "^1.3.0", "nodemailer": "^7.0.3", "patch-package": "^6.4.7", "path-parse": "^1.0.7", "prettier": "^2.7.1", "rimraf": "^2.6.3", "serve-handler": "^6.1.3", "shelljs": "^0.8.5", "sinon": "^9.2.4", "standard-version": "^9.1.1", "terser-webpack-plugin": "^4.2.3", "ts-jest": "^29.0.3", "typescript": "^4.7.4", "uuid": "^3.3.2", "wd": "^1.14.0", "wdio-chromedriver-service": "^7.3.2", "wdio-geckodriver-service": "^2.1.1", "webdriverio": "^7.19.5", "webpack": "^5.74.0", "webpack-cli": "^4.8.0", "webpack-dev-server": "^4.3.1", "yakbak": "^5.0.1", "yargs": "^16.2.0" }, "browser": { "./src/client/client/client.js": "./src/client/client/client.shim.js", "./src/client/client/processors/request/request.js": "./src/client/client/processors/request/request.shim.js", "./src/client/credentials/credentials.js": "./src/client/credentials/credentials.shim.js", "./src/client/mercury/socket/socket.js": "./src/client/mercury/socket/socket.shim.js", "./src/client/services/conversation/file-cache/collection/collection.js": "./src/client/services/conversation/file-cache/collection/collection.shim.js", "./src/client/services/conversation/file-cache/model/model.js": "./src/client/services/conversation/file-cache/model/model.shim.js", "./src/client/services/conversation/share-activity/share-activity.js": "./src/client/services/conversation/share-activity/share-activity.shim.js", "./src/client/services/encryption/encryption/encryption.js": "./src/client/services/encryption/encryption/encryption.shim.js", "./src/lib/image/image.js": "./src/lib/image/image.shim.js", "./src/test/test.js": "./src/test/test.shim.js", "./src/util/html/html.js": "./src/util/html/html.shim.js", "crypto": false, "gm": false, "mmmagic": false, "underscore": "lodash" }, "browserify": { "transform": [ "envify" ] }, "publishConfig": { "registry": "http://engci-maven-master.cisco.com/artifactory/api/npm/webex-release-npm" }, "standard-version": { "scripts": { "postbump": "yarn run build:skip-samples && yarn run build:script && git add packages/webex/umd/*.js", "release": "git add packages/*/package.json packages/@webex/*/package.json CHANGELOG.md && standard-version -a" } }, "packageManager": "yarn@3.4.1", "dependencies": { "querystring-es3": "^0.2.1" }, "//": "Todo: https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-490729" }