hls.js

v1.1.2-0.canary.8046
JavaScript HLS client using MediaSourceExtension

dev

webpack serve --progress --env debug --env demo --port 8000

docs

esdoc

lint

eslint src/ tests/ --ext .js --ext .ts

test

npm run test:unit && npm run test:func

build

webpack --progress && npm run build:types

start

npm run dev

prepare

husky install

pretest

npm run lint

build:ci

webpack && tsc --build tsconfig-lib.json && api-extractor run

lint:fix

npm run lint -- --fix

prettier

prettier --write .

test:func

BABEL_ENV=development mocha --require @babel/register tests/functional/auto/setup.js --timeout 40000 --exit

test:unit

karma start karma.conf.js

lint:quiet

npm run lint -- --quiet

type-check

tsc --noEmit

build:debug

webpack --progress --env debug --env demo

build:types

tsc --build tsconfig-lib.json && api-extractor run --local

build:watch

webpack --progress --env debug --env demo --watch

lint:staged

lint-staged

sanity-check

npm run lint && npm run prettier:verify && npm run type-check && npm run docs && npm run build:types && npm run build && npm run test:unit

prettier:verify

prettier --check .

test:func:light

BABEL_ENV=development HLSJS_LIGHT=1 mocha --require @babel/register tests/functional/auto/setup.js --timeout 40000 --exit

test:func:sauce

SAUCE=1 UA=safari OS='OS X 10.15' BABEL_ENV=development mocha --require @babel/register tests/functional/auto/setup.js --timeout 40000 --exit

test:unit:debug

DEBUG_UNIT_TESTS=1 karma start karma.conf.js --auto-watch --no-single-run --browsers Chrome

test:unit:watch

karma start karma.conf.js --auto-watch --no-single-run

type-check:watch

npm run type-check -- --watch

test:func:sauce-ie

SAUCE=1 UA='internet explorer' OS='Windows 10' BABEL_ENV=development mocha --require @babel/register tests/functional/auto/setup.js --timeout 40000 --exit

Metadata

Downloads