amazon-ivs-web-broadcast

v1.17.0
Amazon IVS Web Broadcast SDK

build

npm run build:js && npm run build:types

build:js

npx webpack --config ./webpack.config.js

build:prod

NODE_ENV=production npm run build

build:types

npx tsc

build:examples

NODE_ENV=production npx webpack --config ./examples/webpack.config.js

build:ci

npm run build:prod && npm run build:examples

api:validate

npx api-extractor run --verbose || ./scripts/api-error.sh

api:rebuild

npx api-extractor run --local --verbose

format

npx prettier --config .prettierrc --ignore-path .prettierignore --write .

format:check

npx prettier --config .prettierrc --ignore-path .prettierignore --check .

start

npx npm-run-all --parallel start:*

start:types

npx tsc --watch

start:js

npx webpack --config ./webpack.config.js --watch

lint

npx eslint ./src --ext .js,.jsx,.ts,.tsx,.json

test

npx jest --config ./jest.config.js --forceExit

test:ci

npm run test -- --ci --runInBand --collect-coverage --silent

test:e2e-stages

cd e2e && npm run test:e2e-stages --

test:e2e-broadcast

cd e2e && npm run test:e2e-broadcast --

typedoc

npx typedoc --options ./typedoc.config.js

examples

npx webpack serve --config ./examples/webpack.config.js

release

release-it

bootstrap

husky install

watch:prod

watch 'npm run build:prod' src

precommit

npx concurrently --group --timings --kill-others-on-fail 'npm run format' 'npm run lint' 'npm run build:types && npm run api:validate' 'npm run test -- --silent'

precommit:serial

npm run format && npm run lint && npm run build:types && npm run api:validate && npm run test -- --silent
npm i amazon-ivs-web-broadcast

Metadata

Downloads