123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- {
- "_from": "hls.js",
- "_id": "hls.js@1.6.7",
- "_inBundle": false,
- "_integrity": "sha512-QW2fnwDGKGc9DwQUGLbmMOz8G48UZK7PVNJPcOUql1b8jubKx4/eMHNP5mGqr6tYlJNDG1g10Lx2U/qPzL6zwQ==",
- "_location": "/hls.js",
- "_phantomChildren": {},
- "_requested": {
- "type": "tag",
- "registry": true,
- "raw": "hls.js",
- "name": "hls.js",
- "escapedName": "hls.js",
- "rawSpec": "",
- "saveSpec": null,
- "fetchSpec": "latest"
- },
- "_requiredBy": [
- "#USER",
- "/"
- ],
- "_resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.6.7.tgz",
- "_shasum": "1b45ed55dfc92e06edc15b98e6374bd13f78af65",
- "_spec": "hls.js",
- "_where": "C:\\Users\\Administrator\\Desktop\\项目\\直播\\liveH5-v3",
- "authors": "Guillaume du Pontavice <g.du.pontavice@gmail.com>",
- "bugs": {
- "url": "https://github.com/video-dev/hls.js/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "JavaScript HLS client using MediaSourceExtension",
- "devDependencies": {
- "@babel/core": "7.28.0",
- "@babel/helper-module-imports": "7.27.1",
- "@babel/plugin-proposal-class-properties": "7.18.6",
- "@babel/plugin-proposal-object-rest-spread": "7.20.7",
- "@babel/plugin-proposal-optional-chaining": "7.21.0",
- "@babel/plugin-transform-object-assign": "7.27.1",
- "@babel/preset-env": "7.28.0",
- "@babel/preset-typescript": "7.27.1",
- "@babel/register": "7.27.1",
- "@microsoft/api-documenter": "7.26.29",
- "@microsoft/api-extractor": "7.52.8",
- "@rollup/plugin-alias": "5.1.1",
- "@rollup/plugin-babel": "6.0.4",
- "@rollup/plugin-commonjs": "28.0.6",
- "@rollup/plugin-node-resolve": "16.0.1",
- "@rollup/plugin-replace": "6.0.2",
- "@rollup/plugin-terser": "0.4.4",
- "@rollup/plugin-typescript": "12.1.4",
- "@svta/common-media-library": "0.15.1",
- "@types/chai": "4.3.20",
- "@types/chart.js": "2.9.41",
- "@types/mocha": "10.0.10",
- "@types/sinon-chai": "3.2.12",
- "@typescript-eslint/eslint-plugin": "8.35.1",
- "@typescript-eslint/parser": "8.35.1",
- "babel-loader": "10.0.0",
- "babel-plugin-transform-remove-console": "6.9.4",
- "chai": "4.5.0",
- "chart.js": "2.9.4",
- "chromedriver": "138.0.0",
- "doctoc": "2.2.1",
- "es-check": "9.1.4",
- "eslint": "8.57.1",
- "eslint-config-prettier": "10.1.5",
- "eslint-plugin-import": "2.32.0",
- "eslint-plugin-mocha": "10.5.0",
- "eslint-plugin-n": "17.20.0",
- "eslint-plugin-no-for-of-loops": "1.0.1",
- "eslint-plugin-promise": "7.2.1",
- "eventemitter3": "5.0.1",
- "http-server": "14.1.1",
- "husky": "9.1.7",
- "jsonpack": "1.1.5",
- "karma": "6.4.4",
- "karma-chrome-launcher": "3.2.0",
- "karma-coverage": "2.2.1",
- "karma-mocha": "2.0.1",
- "karma-mocha-reporter": "2.2.5",
- "karma-rollup-preprocessor": "github:jlmakes/karma-rollup-preprocessor#7a7268d91149307b3cf2888ee4e65ccd079955a3",
- "karma-sinon-chai": "2.0.2",
- "karma-sourcemap-loader": "0.4.0",
- "lint-staged": "16.1.2",
- "markdown-styles": "3.2.0",
- "micromatch": "4.0.8",
- "mocha": "11.7.1",
- "node-fetch": "3.3.2",
- "npm-run-all2": "8.0.4",
- "prettier": "3.5.3",
- "promise-polyfill": "8.3.0",
- "rollup": "4.44.1",
- "rollup-plugin-istanbul": "5.0.0",
- "sauce-connect-launcher": "1.3.2",
- "selenium-webdriver": "4.34.0",
- "semver": "7.7.2",
- "sinon": "19.0.5",
- "sinon-chai": "3.7.0",
- "typescript": "5.8.3",
- "url-toolkit": "2.2.5",
- "wrangler": "4.22.0"
- },
- "exports": {
- ".": {
- "import": "./dist/hls.mjs",
- "require": "./dist/hls.js"
- },
- "./light": {
- "import": "./dist/hls.light.mjs",
- "require": "./dist/hls.light.js"
- },
- "./dist/*": "./dist/*",
- "./package.json": "./package.json"
- },
- "files": [
- "dist/**/*",
- "src/**/*"
- ],
- "homepage": "https://github.com/video-dev/hls.js",
- "license": "Apache-2.0",
- "main": "./dist/hls.js",
- "module": "./dist/hls.mjs",
- "name": "hls.js",
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/video-dev/hls.js.git"
- },
- "scripts": {
- "build": "rollup --config && npm run build:types",
- "build:ci": "rollup --config && tsc --build tsconfig-lib.json && api-extractor run && npm run build:copy-types && es-check",
- "build:copy-types": "cp ./dist/hls.d.ts ./dist/hls.d.mts && cp ./dist/hls.d.ts ./dist/hls.js.d.ts",
- "build:debug": "rollup --config --configType full --configType demo",
- "build:types": "tsc --build tsconfig-lib.json && api-extractor run --local && npm run build:copy-types",
- "build:watch": "rollup --config --configType full --configType demo --watch",
- "dev": "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",
- "docs-md-to-html": "generate-md --layout github --input api-extractor/api-documenter --output api-docs",
- "lint": "eslint --cache src/ tests/ --ext .js --ext .ts",
- "lint:fix": "npm run lint -- --fix",
- "lint:quiet": "npm run lint -- --quiet",
- "lint:staged": "lint-staged",
- "prepare": "husky",
- "pretest": "npm run lint",
- "prettier": "prettier --cache --write .",
- "prettier:verify": "prettier --cache --check .",
- "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",
- "serve": "http-server -o /demo .",
- "start": "npm run dev",
- "test": "npm run test:unit && npm run test:func",
- "test:func": "BABEL_ENV=development mocha --require @babel/register tests/functional/auto/setup.js --timeout 40000 --exit",
- "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": "karma start karma.conf.js",
- "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": "tsc --noEmit",
- "type-check:watch": "npm run type-check -- --watch"
- },
- "types": "./dist/hls.d.ts",
- "version": "1.6.7"
- }
|