package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "name": "mux.js",
  3. "version": "6.3.0",
  4. "description": "A collection of lightweight utilities for inspecting and manipulating video container formats.",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/videojs/mux.js.git"
  8. },
  9. "main": "./cjs/index.js",
  10. "module": "es/index.js",
  11. "browser": "dist/mux.js",
  12. "bin": {
  13. "muxjs-transmux": "bin/transmux.js"
  14. },
  15. "generator-videojs-plugin": {
  16. "version": "7.7.3"
  17. },
  18. "browserslist": [
  19. "defaults",
  20. "ie 11"
  21. ],
  22. "scripts": {
  23. "netlify": "node scripts/netlify.js",
  24. "build": "npm-run-all -s clean -p build:*",
  25. "build-prod": "cross-env-shell NO_TEST_BUNDLE=1 'npm run build'",
  26. "build-test": "cross-env-shell TEST_BUNDLE_ONLY=1 'npm run build'",
  27. "build:cjs": "babel-config-cjs -d ./cjs ./lib",
  28. "build:es": "babel-config-es -d ./es ./lib",
  29. "build:js": "rollup -c scripts/rollup.config.js",
  30. "clean": "shx rm -rf ./dist ./test/dist ./cjs ./es && shx mkdir -p ./dist ./test/dist ./cjs ./es",
  31. "docs": "npm-run-all docs:*",
  32. "docs:toc": "doctoc --notitle README.md",
  33. "lint": ": vjsstandard",
  34. "server": "karma start scripts/karma.conf.js --singleRun=false --auto-watch",
  35. "start": "npm-run-all -p server watch",
  36. "test": "npm-run-all lint build-test test:*",
  37. "test:browser": "karma start scripts/karma.conf.js",
  38. "test:node": "node scripts/node-test.js",
  39. "update-changelog": "conventional-changelog -p videojs -i CHANGELOG.md -s",
  40. "version": "is-prerelease || npm run update-changelog && git add CHANGELOG.md",
  41. "watch": "npm-run-all -p watch:*",
  42. "watch:cjs": "npm run build:cjs -- -w",
  43. "watch:es": "npm run build:es -- -w",
  44. "watch:js": "npm run build:js -- -w",
  45. "prepublishOnly": "npm ci && npm-run-all build-prod && vjsverify --verbose"
  46. },
  47. "engines": {
  48. "node": ">=8",
  49. "npm": ">=5"
  50. },
  51. "keywords": [
  52. "video",
  53. "container",
  54. "transmux",
  55. "mux",
  56. "player",
  57. "hls",
  58. "mp4",
  59. "flv",
  60. "aac",
  61. "h264"
  62. ],
  63. "author": "Brightcove",
  64. "license": "Apache-2.0",
  65. "vjsstandard": {
  66. "ignore": [
  67. "es",
  68. "cjs",
  69. "dist",
  70. "docs",
  71. "test/dist"
  72. ]
  73. },
  74. "files": [
  75. "bin/",
  76. "CONTRIBUTING.md",
  77. "cjs/",
  78. "dist/",
  79. "docs/",
  80. "es/",
  81. "lib/",
  82. "index.html",
  83. "scripts/",
  84. "src/",
  85. "test/"
  86. ],
  87. "husky": {
  88. "hooks": {
  89. "pre-commit": ": lint-staged"
  90. }
  91. },
  92. "lint-staged": {
  93. "*.js": "vjsstandard --fix",
  94. "README.md": "doctoc --notitle"
  95. },
  96. "dependencies": {
  97. "@babel/runtime": "^7.11.2",
  98. "global": "^4.4.0"
  99. },
  100. "devDependencies": {
  101. "@babel/cli": "^7.11.6",
  102. "@videojs/babel-config": "^0.2.0",
  103. "@videojs/generator-helpers": "~2.0.1",
  104. "@videojs/vhs-utils": "^3.0.0",
  105. "karma": "^5.0.0",
  106. "qunit": "^2.16.0",
  107. "rollup": "^2.37.1",
  108. "rollup-plugin-data-files": "^0.1.0",
  109. "rollup-plugin-worker-factory": "^0.5.6",
  110. "sinon": "^8.1.1",
  111. "videojs-generate-karma-config": "~7.1.0",
  112. "videojs-generate-rollup-config": "~6.2.0",
  113. "videojs-generator-verify": "~3.0.2",
  114. "videojs-standard": "^8.0.4"
  115. }
  116. }