hls.js
v1.5.0-beta.1.0.canary.9796dev
run-p build:watch serve
docs
doctoc ./docs/API.md && api-documenter markdown -i api-extractor -o api-extractor/api-documenter && rm api-extractor/api-documenter/index.md && npm run docs-md-to-html
lint
eslint --cache src/ tests/ --ext .js --ext .ts
test
npm run test:unit && npm run test:func
build
rollup --config && npm run build:types
serve
http-server -o /demo .
start
npm run dev
prepare
husky install
pretest
npm run lint
build:ci
rollup --config && tsc --build tsconfig-lib.json && api-extractor run && es-check
lint:fix
npm run lint -- --fix
prettier
prettier --cache --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
rollup --config --configType full --configType demo
build:types
tsc --build tsconfig-lib.json && api-extractor run --local
build:watch
rollup --config --configType full --configType demo --watch
lint:staged
lint-staged
sanity-check
npm run lint && npm run prettier:verify && npm run type-check && npm run build && es-check && npm run docs && npm run test:unit
docs-md-to-html
generate-md --layout github --input api-extractor/api-documenter --output api-docs
prettier:verify
prettier --cache --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
npm i [email protected]
Metadata
- Apache-2.0
- Whatever
- Unknown
- released 12/7/2023