package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "mpd-parser",
  3. "version": "1.1.1",
  4. "description": "mpd parser",
  5. "main": "dist/mpd-parser.cjs.js",
  6. "module": "dist/mpd-parser.es.js",
  7. "repository": {
  8. "type": "git",
  9. "url": "git@github.com:videojs/mpd-parser.git"
  10. },
  11. "bin": {
  12. "mpd-to-m3u8-json": "bin/parse.js"
  13. },
  14. "scripts": {
  15. "prenetlify": "npm run build",
  16. "netlify": "node scripts/netlify.js",
  17. "build-test": "cross-env-shell TEST_BUNDLE_ONLY=1 'npm run build'",
  18. "build-prod": "cross-env-shell NO_TEST_BUNDLE=1 'npm run build'",
  19. "build": "npm-run-all -s clean -p build:*",
  20. "build:js": "rollup -c scripts/rollup.config.js",
  21. "clean": "shx rm -rf ./dist ./test/dist && shx mkdir -p ./dist ./test/dist",
  22. "lint": "vjsstandard",
  23. "prepublishOnly": "npm-run-all build-prod && vjsverify --verbose --skip-es-check",
  24. "start": "npm-run-all -p server watch",
  25. "server": "karma start scripts/karma.conf.js --singleRun=false --auto-watch",
  26. "test": "npm-run-all lint build-test && npm-run-all test:*",
  27. "test:browser": "karma start scripts/karma.conf.js",
  28. "test:node": "qunit test/dist/bundle-node.js",
  29. "posttest": "shx cat test/dist/coverage/text.txt",
  30. "version": "is-prerelease || npm run update-changelog && git add CHANGELOG.md",
  31. "update-changelog": "conventional-changelog -p videojs -i CHANGELOG.md -s",
  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. "test/dist"
  46. ]
  47. },
  48. "files": [
  49. "CONTRIBUTING.md",
  50. "dist/",
  51. "docs/",
  52. "index.html",
  53. "scripts/",
  54. "src/",
  55. "test/"
  56. ],
  57. "dependencies": {
  58. "@babel/runtime": "^7.12.5",
  59. "@videojs/vhs-utils": "^3.0.5",
  60. "@xmldom/xmldom": "^0.8.3",
  61. "global": "^4.4.0"
  62. },
  63. "devDependencies": {
  64. "@rollup/plugin-replace": "^2.3.4",
  65. "@videojs/generator-helpers": "~2.0.1",
  66. "jsdom": "^16.4.0",
  67. "karma": "^5.2.3",
  68. "rollup": "^2.38.0",
  69. "rollup-plugin-string": "^3.0.0",
  70. "sinon": "^9.2.3",
  71. "videojs-generate-karma-config": "^8.0.1",
  72. "videojs-generate-rollup-config": "~7.0.0",
  73. "videojs-generator-verify": "~3.0.2",
  74. "videojs-standard": "^9.0.1"
  75. },
  76. "generator-videojs-plugin": {
  77. "version": "7.7.3"
  78. },
  79. "lint-staged": {
  80. "*.js": "vjsstandard --fix",
  81. "README.md": "doctoc --notitle"
  82. },
  83. "husky": {
  84. "hooks": {
  85. "pre-commit": "lint-staged"
  86. }
  87. }
  88. }