package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "name": "@videojs/http-streaming",
  3. "version": "3.0.2",
  4. "description": "Play back HLS and DASH with Video.js, even where it's not natively supported",
  5. "main": "dist/videojs-http-streaming.cjs.js",
  6. "module": "dist/videojs-http-streaming.es.js",
  7. "repository": {
  8. "type": "git",
  9. "url": "git@github.com:videojs/http-streaming.git"
  10. },
  11. "scripts": {
  12. "prenetlify": "npm run build",
  13. "netlify": "node scripts/netlify.js",
  14. "build-test": "cross-env-shell TEST_BUNDLE_ONLY=1 'npm run build'",
  15. "build-prod": "cross-env-shell NO_TEST_BUNDLE=1 'npm run build'",
  16. "build": "npm-run-all -s clean -p build:*",
  17. "build:js": "rollup -c scripts/rollup.config.js",
  18. "docs": "npm-run-all docs:*",
  19. "docs:api": "jsdoc src -g plugins/markdown -r -d docs/api",
  20. "docs:toc": "doctoc --notitle README.md",
  21. "docs:images:puml": "for i in docs/images/sources/*.puml; do npx water-uml export $i -f png -o \"docs/images/$(echo $i | cut -d '/' -f 4)\"; done",
  22. "docs:images:nomnoml": "node ./scripts/create-docs-images.js",
  23. "docs:images": "npm-run-all -p docs:images:puml docs:images:nomnoml",
  24. "clean": "shx rm -rf ./dist ./test/dist && shx mkdir -p ./dist ./test/dist",
  25. "lint": "vjsstandard",
  26. "prepublishOnly": "npm-run-all build-prod && vjsverify --verbose --skip-es-check",
  27. "start": "npm-run-all -p server watch",
  28. "server": "karma start scripts/karma.conf.js --singleRun=false --auto-watch",
  29. "test": "npm-run-all lint build-test && karma start scripts/karma.conf.js",
  30. "posttest": "[ \"$CI_TEST_TYPE\" != 'coverage' ] || shx cat test/dist/coverage/text.txt",
  31. "version": "vjs-update-changelog --add --run-on-prerelease",
  32. "watch": "npm-run-all -p watch:*",
  33. "watch:js": "npm run build:js -- -w"
  34. },
  35. "keywords": [
  36. "videojs",
  37. "videojs-plugin"
  38. ],
  39. "author": "Brightcove, Inc",
  40. "license": "Apache-2.0",
  41. "vjsstandard": {
  42. "ignore": [
  43. "dist",
  44. "docs",
  45. "deploy",
  46. "test/dist",
  47. "utils",
  48. "src/*.worker.js"
  49. ]
  50. },
  51. "files": [
  52. "CONTRIBUTING.md",
  53. "dist/",
  54. "docs/",
  55. "index.html",
  56. "scripts/",
  57. "src/"
  58. ],
  59. "dependencies": {
  60. "@babel/runtime": "^7.12.5",
  61. "@videojs/vhs-utils": "4.0.0",
  62. "aes-decrypter": "4.0.1",
  63. "global": "^4.4.0",
  64. "m3u8-parser": "^6.0.0",
  65. "mpd-parser": "^1.0.1",
  66. "mux.js": "6.3.0",
  67. "video.js": "^7 || ^8"
  68. },
  69. "peerDependencies": {
  70. "video.js": "^7 || ^8"
  71. },
  72. "devDependencies": {
  73. "@rollup/plugin-replace": "^2.3.4",
  74. "@rollup/plugin-strip": "^2.0.1",
  75. "@videojs/generator-helpers": "~3.1.0",
  76. "bootstrap": "^5.1.0",
  77. "d3": "^3.4.8",
  78. "jsdoc": "^3.6.11",
  79. "karma": "^6.4.0",
  80. "lodash": "^4.17.4",
  81. "lodash-compat": "^3.10.0",
  82. "nomnoml": "^1.5.2",
  83. "rollup": "^2.36.1",
  84. "rollup-plugin-worker-factory": "0.5.7",
  85. "shelljs": "^0.8.5",
  86. "sinon": "^8.1.1",
  87. "url-toolkit": "^2.2.1",
  88. "videojs-contrib-eme": "^5.0.1",
  89. "videojs-contrib-quality-levels": "^2.0.4",
  90. "videojs-generate-karma-config": "^8.0.1",
  91. "videojs-generate-rollup-config": "^7.0.0",
  92. "videojs-generator-verify": "~3.0.1",
  93. "videojs-http-source-selector": "^1.1.6",
  94. "videojs-standard": "^9.0.0",
  95. "water-plant-uml": "^2.0.2"
  96. },
  97. "generator-videojs-plugin": {
  98. "version": "7.6.3"
  99. },
  100. "engines": {
  101. "node": ">=8",
  102. "npm": ">=5"
  103. },
  104. "husky": {
  105. "hooks": {
  106. "pre-commit": "lint-staged"
  107. }
  108. },
  109. "lint-staged": {
  110. "*.js": "vjsstandard --fix",
  111. "README.md": "doctoc --notitle"
  112. }
  113. }