twilio-video
v2.21.2 twilio webrtc library javascript video rooms
docs
node ./scripts/docs.js ./dist/docs
lint
npm-run-all lint:js lint:ts
test
npm-run-all test:unit test:integration
build
npm-run-all clean lint docs test:unit test:integration build:es5 build:js build:min.js test:umd
clean
rimraf ./coverage ./es5 ./dist
watch
tsc -w
lint:js
eslint ./lib ./test/*.js ./docker/**/*.js ./test/framework/*.js ./test/lib/*.js ./test/integration/** ./test/unit/**
lint:ts
eslint ./tsdef/*.ts ./lib/**/*.ts
build:js
node ./scripts/build.js ./src/twilio-video.js ./LICENSE.md ./dist/twilio-video.js
test:umd
mocha ./test/umd/index.js
build:es5
rimraf ./es5 && tsc tsdef/twilio-video-tests.ts --noEmit --lib es2018,dom && tsc
test:unit
npm-run-all printVersion build:es5 && nyc --report-dir=./coverage --include=lib/**/* --reporter=html --reporter=lcov --reporter=text mocha -r ts-node/register ./test/unit/*
build:quick
npm-run-all clean lint docs build:es5 build:js build:min.js
build:min.js
uglifyjs ./dist/twilio-video.js -o ./dist/twilio-video.min.js --comments "/^! twilio-video.js/" -b beautify=false,ascii_only=true
printVersion
node --version && npm --version
test:framework
npm-run-all test:framework:install test:framework:no-framework test:framework:react
test:sdkdriver
npm-run-all test:sdkdriver:*
test:integration
npm run build:es5 && node ./scripts/karma.js karma/integration.conf.js
test:umd:install
npm install [email protected]
test:crossbrowser
npm-run-all test:crossbrowser:*
test:sdkdriver:test
npm-run-all test:sdkdriver:test:*
test:framework:react
npm-run-all test:framework:react:*
test:sdkdriver:build
npm-run-all test:sdkdriver:build:*
test:serversiderender
mocha ./test/serversiderender/index.js
test:crossbrowser:test
cd ./test/crossbrowser && mocha --compilers ts:ts-node/register test/integration/spec/**/*.ts
test:framework:angular
npm-run-all test:framework:angular:*
test:framework:install
npm install chromedriver && npm install selenium-webdriver && npm install geckodriver && npm install puppeteer
test:crossbrowser:build
npm-run-all test:crossbrowser:build:*
test:framework:react:run
mocha ./test/framework/twilio-video-react.js
test:integration:adapter
node ./scripts/karma.js karma/integration.adapter.conf.js
test:sdkdriver:build:tsc
cd ./test/lib/sdkdriver && tsc --rootDir src
test:sdkdriver:test:unit
cd ./test/lib/sdkdriver && mocha --compilers ts:ts-node/register test/unit/spec/**/*.ts
test:framework:react:test
node ./scripts/framework.js twilio-video-react
test:sdkdriver:build:lint
cd ./test/lib/sdkdriver && tslint --project tsconfig.json
test:framework:angular:run
mocha ./test/framework/twilio-video-angular.js
test:framework:react:build
cd ./test/framework/twilio-video-react && npm run build
test:sdkdriver:build:clean
rimraf ./test/lib/sdkdriver/lib ./test/lib/sdkdriver/test/integration/browser/index.js
test:crossbrowser:build:tsc
cd ./test/crossbrowser && tsc
test:framework:no-framework
npm-run-all test:framework:no-framework:*
test:crossbrowser:build:lint
cd ./test/crossbrowser && tslint --project tsconfig.json
test:framework:react:install
cd ./test/framework/twilio-video-react && rimraf ./node_modules package-lock.json && npm install
test:crossbrowser:build:clean
rimraf ./test/crossbrowser/lib ./test/crossbrowser/src/browser/index.js
test:framework:angular:install
cd ./test/framework/twilio-video-angular && rimraf ./node_modules package-lock.json && npm install
test:crossbrowser:build:browser
cd ./test/crossbrowser && browserify lib/crossbrowser/src/browser/index.js > src/browser/index.js
test:framework:no-framework:run
mocha ./test/framework/twilio-video-no-framework.js
test:sdkdriver:test:integration
npm-run-all test:sdkdriver:test:integration:*
test:sdkdriver:test:integration:run
cd ./test/lib/sdkdriver && mocha --compilers ts:ts-node/register test/integration/spec/**/*.ts
test:sdkdriver:test:integration:browser
cd ./test/lib/sdkdriver/test/integration && browserify browser/browser.js > browser/index.js
npm i [email protected]
Metadata
- BSD-3-Clause
- >=0.12
- Mark Andrus Roberts
- released 6/2/2022