package.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. {
  2. "_from": "hls.js@^1.0.10",
  3. "_id": "hls.js@1.5.15",
  4. "_inBundle": false,
  5. "_integrity": "sha512-6cD7xN6bycBHaXz2WyPIaHn/iXFizE5au2yvY5q9aC4wfihxAr16C9fUy4nxh2a3wOw0fEgLRa9dN6wsYjlpNg==",
  6. "_location": "/hls.js",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "hls.js@^1.0.10",
  12. "name": "hls.js",
  13. "escapedName": "hls.js",
  14. "rawSpec": "^1.0.10",
  15. "saveSpec": null,
  16. "fetchSpec": "^1.0.10"
  17. },
  18. "_requiredBy": [
  19. "/"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/hls.js/-/hls.js-1.5.15.tgz",
  22. "_shasum": "dbceb45492dcbdce9659e0d43cffa6c5cebaefb7",
  23. "_spec": "hls.js@^1.0.10",
  24. "_where": "D:\\yf\\项目\\智慧工地\\代码库\\zhgd-front\\crm_web",
  25. "authors": "Guillaume du Pontavice <g.du.pontavice@gmail.com>",
  26. "bugs": {
  27. "url": "https://github.com/video-dev/hls.js/issues"
  28. },
  29. "bundleDependencies": false,
  30. "deprecated": false,
  31. "description": "JavaScript HLS client using MediaSourceExtension",
  32. "devDependencies": {
  33. "@babel/core": "7.23.7",
  34. "@babel/helper-module-imports": "7.22.15",
  35. "@babel/plugin-proposal-class-properties": "7.18.6",
  36. "@babel/plugin-proposal-object-rest-spread": "7.20.7",
  37. "@babel/plugin-proposal-optional-chaining": "7.21.0",
  38. "@babel/plugin-transform-object-assign": "7.23.3",
  39. "@babel/preset-env": "7.23.7",
  40. "@babel/preset-typescript": "7.23.3",
  41. "@babel/register": "7.23.7",
  42. "@microsoft/api-documenter": "7.23.16",
  43. "@microsoft/api-extractor": "7.39.1",
  44. "@rollup/plugin-alias": "5.1.0",
  45. "@rollup/plugin-babel": "6.0.4",
  46. "@rollup/plugin-commonjs": "25.0.7",
  47. "@rollup/plugin-node-resolve": "15.2.3",
  48. "@rollup/plugin-replace": "5.0.5",
  49. "@rollup/plugin-terser": "0.4.4",
  50. "@rollup/plugin-typescript": "11.1.5",
  51. "@svta/common-media-library": "0.6.1",
  52. "@types/chai": "4.3.11",
  53. "@types/chart.js": "2.9.41",
  54. "@types/mocha": "10.0.6",
  55. "@types/sinon-chai": "3.2.12",
  56. "@typescript-eslint/eslint-plugin": "6.17.0",
  57. "@typescript-eslint/parser": "6.17.0",
  58. "babel-loader": "9.1.3",
  59. "babel-plugin-transform-remove-console": "6.9.4",
  60. "chai": "4.3.10",
  61. "chart.js": "2.9.4",
  62. "chromedriver": "120.0.1",
  63. "doctoc": "2.2.1",
  64. "es-check": "7.1.1",
  65. "eslint": "8.56.0",
  66. "eslint-config-prettier": "9.1.0",
  67. "eslint-plugin-import": "2.29.1",
  68. "eslint-plugin-mocha": "10.2.0",
  69. "eslint-plugin-node": "11.1.0",
  70. "eslint-plugin-promise": "6.1.1",
  71. "eventemitter3": "5.0.1",
  72. "http-server": "14.1.1",
  73. "husky": "8.0.3",
  74. "jsonpack": "1.1.5",
  75. "karma": "6.4.2",
  76. "karma-chrome-launcher": "3.2.0",
  77. "karma-coverage": "2.2.1",
  78. "karma-mocha": "2.0.1",
  79. "karma-mocha-reporter": "2.2.5",
  80. "karma-rollup-preprocessor": "github:jlmakes/karma-rollup-preprocessor#7a7268d91149307b3cf2888ee4e65ccd079955a3",
  81. "karma-sinon-chai": "2.0.2",
  82. "karma-sourcemap-loader": "0.4.0",
  83. "lint-staged": "15.2.0",
  84. "markdown-styles": "3.2.0",
  85. "micromatch": "4.0.5",
  86. "mocha": "10.2.0",
  87. "node-fetch": "3.3.2",
  88. "npm-run-all": "4.1.5",
  89. "prettier": "3.1.1",
  90. "promise-polyfill": "8.3.0",
  91. "rollup": "4.9.4",
  92. "rollup-plugin-istanbul": "5.0.0",
  93. "sauce-connect-launcher": "1.3.2",
  94. "selenium-webdriver": "4.16.0",
  95. "semver": "7.5.4",
  96. "sinon": "17.0.1",
  97. "sinon-chai": "3.7.0",
  98. "typescript": "5.3.3",
  99. "url-toolkit": "2.2.5",
  100. "wrangler": "3.22.4"
  101. },
  102. "exports": {
  103. ".": {
  104. "types": "./dist/hls.js.d.ts",
  105. "import": "./dist/hls.mjs",
  106. "require": "./dist/hls.js"
  107. },
  108. "./dist/*": "./dist/*",
  109. "./package.json": "./package.json"
  110. },
  111. "files": [
  112. "dist/**/*",
  113. "src/**/*"
  114. ],
  115. "homepage": "https://github.com/video-dev/hls.js",
  116. "license": "Apache-2.0",
  117. "main": "./dist/hls.js",
  118. "module": "./dist/hls.mjs",
  119. "name": "hls.js",
  120. "publishConfig": {
  121. "access": "public"
  122. },
  123. "repository": {
  124. "type": "git",
  125. "url": "git+https://github.com/video-dev/hls.js.git"
  126. },
  127. "scripts": {
  128. "build": "rollup --config && npm run build:types",
  129. "build:ci": "rollup --config && tsc --build tsconfig-lib.json && api-extractor run && es-check",
  130. "build:debug": "rollup --config --configType full --configType demo",
  131. "build:types": "tsc --build tsconfig-lib.json && api-extractor run --local",
  132. "build:watch": "rollup --config --configType full --configType demo --watch",
  133. "dev": "run-p build:watch serve",
  134. "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",
  135. "docs-md-to-html": "generate-md --layout github --input api-extractor/api-documenter --output api-docs",
  136. "lint": "eslint --cache src/ tests/ --ext .js --ext .ts",
  137. "lint:fix": "npm run lint -- --fix",
  138. "lint:quiet": "npm run lint -- --quiet",
  139. "lint:staged": "lint-staged",
  140. "prepare": "husky install",
  141. "pretest": "npm run lint",
  142. "prettier": "prettier --cache --write .",
  143. "prettier:verify": "prettier --cache --check .",
  144. "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",
  145. "serve": "http-server -o /demo .",
  146. "start": "npm run dev",
  147. "test": "npm run test:unit && npm run test:func",
  148. "test:func": "BABEL_ENV=development mocha --require @babel/register tests/functional/auto/setup.js --timeout 40000 --exit",
  149. "test:func:light": "BABEL_ENV=development HLSJS_LIGHT=1 mocha --require @babel/register tests/functional/auto/setup.js --timeout 40000 --exit",
  150. "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",
  151. "test:unit": "karma start karma.conf.js",
  152. "test:unit:debug": "DEBUG_UNIT_TESTS=1 karma start karma.conf.js --auto-watch --no-single-run --browsers Chrome",
  153. "test:unit:watch": "karma start karma.conf.js --auto-watch --no-single-run",
  154. "type-check": "tsc --noEmit",
  155. "type-check:watch": "npm run type-check -- --watch"
  156. },
  157. "types": "./dist/hls.js.d.ts",
  158. "version": "1.5.15"
  159. }