{ "name": "@mux/mux-video", "version": "0.22.0", "description": "A custom mux video element for the browser that Just Works™", "keywords": [ "video", "mux", "player", "hls", "web-component" ], "main": "./dist/index.cjs.js", "module": "./dist/index.mjs", "browser": "./dist/index.mjs", "unpkg": "./dist/mux-video.js", "jsdelivr": "./dist/mux-video.js", "typesVersions": { "<4.3.5": { ".": [ "./dist/types-ts3.4/index.d.ts" ] }, "*": { ".": [ "./dist/types/index.d.ts" ] } }, "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs.js", "default": "./dist/index.cjs.js", "types@<4.3.5": "./dist/types-ts3.4/index.d.ts", "types": "./dist/types/index.d.ts" } }, "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/muxinc/elements", "directory": "packages/mux-video" }, "author": "Mux, Inc.", "license": "MIT", "scripts": { "clean": "shx rm -rf dist/ && shx rm -rf src/polyfills", "lint": "ESLINT_USE_FLAT_CONFIG=false eslint src/ --ext .js,.jsx,.ts,.tsx", "test": "web-test-runner **/*test.js --port 8002 --coverage --config test/web-test-runner.config.mjs --root-dir ../..", "posttest": "replace 'SF:src/' 'SF:packages/mux-video/src/' coverage/lcov.info --silent", "dev:iife": "yarn build:iife --watch=forever", "dev:cjs": "yarn build:cjs --watch=forever", "dev:esm": "yarn build:esm --watch=forever", "dev:esm-module": "yarn build:esm-module --watch=forever", "dev:types": "yarn build:types -w", "dev": "npm-run-all --parallel dev:types dev:esm dev:cjs dev:iife", "build:esm": "esbuild src/index.ts --target=es2019 --external:@mux/* --bundle --sourcemap --metafile=./dist/esm.json --format=esm --outdir=dist --out-extension:.js=.mjs --define:PLAYER_VERSION=\"'$npm_package_version'\"", "build:esm-module": "esbuild src/index.ts --target=es2019 --bundle --sourcemap --metafile=./dist/module.json --format=esm --outfile=./dist/mux-video.mjs --define:PLAYER_VERSION=\"'$npm_package_version'\"", "build:cjs": "esbuild src/index.ts --target=es2019 --external:@mux/* --bundle --sourcemap --metafile=./dist/cjs.json --format=cjs --outdir=dist --out-extension:.js=.cjs.js --define:PLAYER_VERSION=\"'$npm_package_version'\"", "build:iife": "esbuild src/index.ts --target=es2019 --bundle --sourcemap --metafile=./dist/iife.json --format=iife --outfile=./dist/mux-video.js --define:PLAYER_VERSION=\"'$npm_package_version'\"", "copypolyfills": "shx mkdir -p src/polyfills && shx cp ../../shared/polyfills/index.ts ./src/polyfills/index.ts", "build:types": "tsc", "postbuild:types": "downlevel-dts ./dist/types ./dist/types-ts3.4", "build": "npm-run-all --parallel 'build:esm --minify' 'build:iife --minify' 'build:cjs --minify' 'build:esm-module --minify'", "create-release-notes": "create-release-notes ./CHANGELOG.md", "publish-release": "../../scripts/publish.sh" }, "dependencies": { "@mux/playback-core": "0.27.0", "castable-video": "~1.1.0", "custom-media-element": "~1.3.1", "media-tracks": "~0.3.2" }, "devDependencies": { "@open-wc/testing": "^4.0.0", "@typescript-eslint/eslint-plugin": "^8.3.0", "@typescript-eslint/parser": "^8.3.0", "@web/dev-server-esbuild": "^1.0.2", "@web/dev-server-import-maps": "^0.2.1", "@web/test-runner": "^0.18.2", "downlevel-dts": "^0.11.0", "esbuild": "^0.19.8", "eslint": "^9.9.1", "hls.js": "~1.5.11", "npm-run-all": "^4.1.5", "replace": "^1.2.1", "shx": "^0.3.4", "typescript": "^5.5.4" }, "gitHead": "e1d17f4ce383e95489fc778d3c5bda3b89a27b5b" }