package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "name": "videojs-contrib-quality-levels",
  3. "version": "3.0.0",
  4. "description": "Exposes a list of quality levels available for the source.",
  5. "main": "dist/videojs-contrib-quality-levels.cjs.js",
  6. "jsnext:main": "src/plugin.js",
  7. "generator-videojs-plugin": {
  8. "version": "8.0.0"
  9. },
  10. "repository": "videojs/videojs-contrib-quality-levels",
  11. "scripts": {
  12. "prebuild": "npm run clean",
  13. "build": "npm-run-all -s clean -p build:*",
  14. "build-prod": "cross-env-shell NO_TEST_BUNDLE=1 'npm run build'",
  15. "build-test": "cross-env-shell TEST_BUNDLE_ONLY=1 'npm run build'",
  16. "build:js": "rollup -c scripts/rollup.config.js",
  17. "clean": "shx rm -rf ./dist ./test/dist ./cjs ./es && shx mkdir -p ./dist ./test/dist ./cjs ./es",
  18. "postclean": "shx mkdir -p ./dist ./test/dist",
  19. "docs": "npm-run-all docs:*",
  20. "docs:api": "jsdoc src -c scripts/jsdoc.config.json -r -d docs/api",
  21. "docs:toc": "doctoc --notitle README.md",
  22. "lint": "vjsstandard",
  23. "server": "karma start scripts/karma.conf.js --singleRun=false --auto-watch",
  24. "start": "npm-run-all -p server watch",
  25. "pretest": "npm-run-all lint build",
  26. "test": "npm-run-all lint build-test && karma start scripts/karma.conf.js",
  27. "posttest": "shx cat test/dist/coverage/text.txt",
  28. "update-changelog": "conventional-changelog -p videojs -i CHANGELOG.md -s",
  29. "preversion": "npm test",
  30. "version": "is-prerelease || npm run update-changelog && git add CHANGELOG.md",
  31. "watch": "npm-run-all -p watch:*",
  32. "watch:js": "npm run build:js -- -w",
  33. "prepublishOnly": "npm-run-all build-prod && vjsverify --verbose --skip-es-check"
  34. },
  35. "keywords": [
  36. "videojs",
  37. "videojs-plugin"
  38. ],
  39. "author": "Brightcove, Inc.",
  40. "license": "Apache-2.0",
  41. "copyright": "Copyright Brightcove, Inc. <https://www.brightcove.com/>",
  42. "videojs-plugin": {
  43. "script": "dist/videojs-contrib-quality-levels.min.js"
  44. },
  45. "vjsstandard": {
  46. "ignore": [
  47. "cjs",
  48. "dist",
  49. "docs",
  50. "ejs",
  51. "test/dist"
  52. ]
  53. },
  54. "files": [
  55. "CONTRIBUTING.md",
  56. "dist/",
  57. "docs/",
  58. "index.html",
  59. "scripts/",
  60. "src/",
  61. "test/"
  62. ],
  63. "dependencies": {
  64. "global": "^4.4.0"
  65. },
  66. "peerDependencies": {
  67. "video.js": "^6 || ^7 || ^8"
  68. },
  69. "devDependencies": {
  70. "@babel/cli": "^7.13.16",
  71. "@babel/runtime": "^7.14.0",
  72. "@videojs/babel-config": "^0.2.0",
  73. "@videojs/generator-helpers": "~2.0.2",
  74. "conventional-changelog-cli": "^2.0.1",
  75. "conventional-changelog-videojs": "^3.0.0",
  76. "doctoc": "^1.3.1",
  77. "husky": "^1.0.0-rc.13",
  78. "jsdoc": "^3.6.11",
  79. "karma": "^6.3.2",
  80. "lint-staged": "^7.2.2",
  81. "not-prerelease": "^1.0.1",
  82. "npm-merge-driver-install": "^1.0.0",
  83. "npm-run-all": "^4.1.5",
  84. "pkg-ok": "^2.2.0",
  85. "rollup": "^2.46.0",
  86. "semver": "^5.1.0",
  87. "shx": "^0.3.2",
  88. "sinon": "^9.1.0",
  89. "video.js": "^6 || ^7 || ^8",
  90. "videojs-generate-karma-config": "~8.0.0",
  91. "videojs-generate-rollup-config": "^7.0.0",
  92. "videojs-generator-verify": "^4.1.0",
  93. "videojs-standard": "^9.0.1"
  94. },
  95. "module": "dist/videojs-contrib-quality-levels.es.js",
  96. "lint-staged": {
  97. "*.js": "vjsstandard --fix",
  98. "README.md": "doctoc --notitle"
  99. },
  100. "husky": {
  101. "hooks": {
  102. "pre-commit": "lint-staged",
  103. "pre-push": "npm run test"
  104. }
  105. },
  106. "browser": "dist/videojs-contrib-quality-levels.js",
  107. "engines": {
  108. "node": ">=14",
  109. "npm": ">=6"
  110. }
  111. }