UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

112 lines (111 loc) 3.51 kB
{ "name": "sinch-rtc", "version": "2.44.4", "description": "RTC JavaScript/Web SDK", "main": "npm/src/index.js", "types": "npm/src/index.d.ts", "files": [ "npm/src/**/*.js", "npm/src/**/*.ts" ], "scripts": { "prepare": "husky install", "dev": "webpack --mode=development", "serve": "webpack serve --mode=development", "clean": "rm -rf dist/*", "build": "run-s clean build:*", "build:sdk": "webpack", "build:adapter": "cp ./node_modules/webrtc-adapter/out/adapter.js ./dist", "lint": "eslint '**/*.ts' --cache", "test": "TS_NODE_FILES=true mocha", "watch": "mocha -r ts-node/register test/**/*.ts --watch --watch-files src/**/*,test/**/*", "pretest:ci": "npm audit --audit-level=critical && prettier --check . && npm run lint", "test:ci": "TS_NODE_FILES=true mocha --reporter mocha-junit-reporter --reporter-options mochaFile=junit.xml", "bidiro": "webpack --mode=development --env=bidiro=true", "bidiro:start": "npm start --prefix ./e2e/bidiro", "e2e": "make bidiro && docker-compose build --no-cache && docker-compose up", "license": "generate-license-file --input package.json --output 3rd-party-licenses.txt && cat ./deliverables/BASE_LICENSE.txt 3rd-party-licenses.txt > ./deliverables/LICENSE.txt", "docs": "typedoc", "npm": "run-s npm:*", "npm:clean": "rm -rf npm/*", "npm:compile": "tsc", "npm:pack": "npm pack", "npm:dist": "mv sinch-rtc*.tgz ./dist", "npm:publish": "npm publish", "declarationfile:rollup": "api-extractor run --local --verbose && prettier --write dist/sinch-rtc.d.ts" }, "keywords": [], "author": "", "license": "ISC", "engines": { "npm": ">=8.0.0", "node": ">=16.0.0" }, "lint-staged": { "*.ts": "eslint --cache --fix", "*": "prettier --write --ignore-unknown" }, "dependencies": { "crypto-js": "^4.2.0", "pako": "^2.1.0", "pubnub": "^7.4.1", "sdp-transform": "^2.14.1", "ulid": "^2.3.0", "webrtc-adapter": "7.2.3" }, "devDependencies": { "@microsoft/api-extractor": "^7.34.4", "@openapitools/openapi-generator-cli": "^2.1.19", "@types/chai": "^4.2.14", "@types/chai-as-promised": "^7.1.4", "@types/crypto-js": "4.1.1", "@types/mocha": "^10.0.0", "@types/pako": "^2.0.3", "@types/pubnub": "^7.3.4", "@types/sdp-transform": "^2.4.4", "@types/sinon": "^7.5.2", "@typescript-eslint/eslint-plugin": "^5.10.2", "@typescript-eslint/parser": "^5.10.2", "chai": "4.2.0", "chai-as-promised": "^7.1.1", "eslint": "^8.1.0", "eslint-plugin-tsdoc": "^0.5.1", "fp-ts": "^2.13.1", "generate-license-file": "^4.0.0", "html-webpack-plugin": "^5.6.4", "husky": "^7.0.4", "jsdom": "^20.0.0", "jsdom-global": "3.0.2", "lint-staged": "^11.2.6", "mocha": "^11.0.0", "mocha-junit-reporter": "^2.0.2", "mock-local-storage": "^1.1.17", "npm-run-all": "4.1.5", "nyc": "^15.1.0", "playwright": "^1.58.2", "prettier": "2.4.1", "sinon": "^17.0.0", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", "typedoc": "^0.28.9", "typescript": "^5.4.0", "webpack": "^5.19.0", "webpack-cli": "^5.0.1", "webpack-dev-server": "^5.2.3" }, "mocha": { "spec": "test/**/*.spec.ts", "require": [ "jsdom-global/register", "mock-local-storage ", "ts-node/register" ], "file": "./test/setup.cjs" }, "nyc": { "extension": [ ".js", ".ts" ] } }