UNPKG

@vonage/client-sdk

Version:

The Client SDK is intended to provide a ready solution for developers to build Programmable Conversation applications across multiple Channels including: Messages, Voice, SIP, websockets, and App.

88 lines (87 loc) 3.39 kB
{ "name": "@vonage/client-sdk", "version": "2.0.0", "description": "", "type": "module", "module": "dist/client/index.mjs", "main": "dist/client/index.cjs", "types": "dist/client/index.d.ts", "exports": { ".": { "types": "./dist/client/index.d.ts", "import": "./dist/client/index.mjs", "require": "./dist/client/index.cjs", "browser": "./dist/vonageClientSDK.js", "deno": "./dist/vonageClientSDK.mjs" } }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "copy:core:clean": "rm -rf src/kotlin; mkdir src/kotlin", "copy:core:ksp": "cp ../clientcore_js/build/generated/ksp/js/jsMain/resources/vonage/*.* ./src/kotlin/", "copy:core:kotlin": "cp ../build/js/packages/clientsdk-clientcore_js/kotlin/*.* ./src/kotlin/", "copy:core": "npm run copy:core:clean; npm run copy:core:ksp; npm run copy:core:kotlin", "copy:dist": "mkdir dist/kotlin; cp ./src/kotlin/**.d.ts ./dist/kotlin/", "build": "npm run copy:core; rollup -c; npm run copy:dist", "build:rollup": "rollup -c", "build:readme": "./docs/generate_readme.sh", "snippets": "node snippet.js $PWD", "start": "node dist/Client.js", "build:watch": "tsc -w", "check": "tsc --project ./examples/tsconfig.json --noEmit --skipLibCheck --strictNullChecks true", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "clean": "rm -Rf node_modules/*; rm -Rf dist/", "build:docs": "typedoc --includeVersion --tsconfig ./tsconfig.json --out api_docs/ts src/client/index.ts --includes examples/snippets --disableSources", "clean:doNotUseOrImplementIt": "node ./scripts/replaceAllDoNotUseOrImplement.js ./src/kotlin/clientsdk-clientcore_js.d.ts && node ./scripts/replaceAllDoNotUseOrImplement.js ./dist/kotlin/clientsdk-clientcore_js.d.ts" }, "author": "Vonage CS Team <nexmo.rtc.ci@vonage.com> (https://developer.vonage.com/client-sdk/overview)", "license": "SEE LICENSE IN LICENSE", "homepage": "https://developer.vonage.com/client-sdk/overview", "keywords": [ "vonage", "voice-sdk", "chat-sdk", "nexmo", "voip", "rtc", "web-rtc", "webRTC" ], "devDependencies": { "@rollup/plugin-commonjs": "^24.0.0", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-multi-entry": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-terser": "^0.2.1", "@swc/core": "^1.3.24", "@types/eslint": "^8.21.1", "@types/node": "^18.16.2", "@types/sdp-transform": "^2.4.5", "@types/socket.io-client": "^1.4.32", "@types/util.promisify": "^1.0.4", "@typescript-eslint/eslint-plugin": "^5.11.0", "@typescript-eslint/parser": "^5.11.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "prettier": "^2.5.1", "rollup": "^3.9.0", "rollup-plugin-cjs-es": "^2.0.0", "rollup-plugin-sizes": "^1.0.5", "rollup-plugin-swc3": "^0.8.0", "rollup-plugin-typescript2": "^0.34.1", "tslib": "^2.4.1", "typedoc": "^0.25.4", "typescript": "^4.9.4" }, "dependencies": { "@js-joda/timezone": "^2.3.0", "events": "^3.3.0", "rtc-stats-adapter": "^1.2.0", "sdp-transform": "^2.14.1", "socket.io-client": "^4.7.2", "socketio-wildcard": "^2.0.0", "typedoc-plugin-missing-exports": "^2.1.0", "webrtc-adapter": "^8.2.3" } }