hls.js
v1.0.0-rc.2.0.canary.6914dev
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
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:watch
karma start karma.conf.js --auto-watch --no-single-run
type-check:watch
npm run type-check -- --watch
npm i [email protected]
Metadata
- Apache-2.0
- Whatever
- Unknown
- released 3/2/2021