package.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "name": "m3u8-parser",
  3. "version": "6.0.0",
  4. "description": "m3u8 parser",
  5. "main": "dist/m3u8-parser.cjs.js",
  6. "module": "dist/m3u8-parser.es.js",
  7. "repository": {
  8. "type": "git",
  9. "url": "git@github.com:videojs/m3u8-parser.git"
  10. },
  11. "contributors": [
  12. {
  13. "name": "gkatsev",
  14. "github": "https://github.com/gkatsev"
  15. },
  16. {
  17. "name": "imbcmdth",
  18. "github": "https://github.com/imbcmdth"
  19. },
  20. {
  21. "name": "dmlap",
  22. "github": "https://github.com/dmlap"
  23. }
  24. ],
  25. "scripts": {
  26. "build-test": "cross-env-shell TEST_BUNDLE_ONLY=1 'npm run build'",
  27. "build-prod": "cross-env-shell NO_TEST_BUNDLE=1 'npm run build'",
  28. "build": "npm-run-all -s clean -p build:*",
  29. "build:js": "rollup -c scripts/rollup.config.js",
  30. "clean": "shx rm -rf ./dist ./test/dist && shx mkdir -p ./dist ./test/dist",
  31. "lint": "vjsstandard",
  32. "prepublishOnly": "npm-run-all build-prod && vjsverify --verbose --skip-es-check",
  33. "start": "npm-run-all -p server watch",
  34. "server": "karma start scripts/karma.conf.js --singleRun=false --auto-watch",
  35. "test": "npm-run-all lint build-test test:*",
  36. "test:browser": "karma start scripts/karma.conf.js",
  37. "test:node": "qunit test/dist/bundle.js",
  38. "posttest": "shx cat test/dist/coverage/text.txt",
  39. "version": "is-prerelease || npm run update-changelog && git add CHANGELOG.md",
  40. "update-changelog": "conventional-changelog -p videojs -i CHANGELOG.md -s",
  41. "watch": "npm-run-all -p watch:*",
  42. "watch:js": "npm run build:js -- -w"
  43. },
  44. "keywords": [
  45. "videojs",
  46. "videojs-plugin"
  47. ],
  48. "author": "Brightcove, Inc",
  49. "license": "Apache-2.0",
  50. "vjsstandard": {
  51. "ignore": [
  52. "dist",
  53. "docs",
  54. "test/dist"
  55. ]
  56. },
  57. "files": [
  58. "CONTRIBUTING.md",
  59. "dist/",
  60. "docs/",
  61. "index.html",
  62. "scripts/",
  63. "src/",
  64. "test/"
  65. ],
  66. "dependencies": {
  67. "@babel/runtime": "^7.12.5",
  68. "@videojs/vhs-utils": "^3.0.5",
  69. "global": "^4.4.0"
  70. },
  71. "devDependencies": {
  72. "@rollup/plugin-replace": "^2.3.4",
  73. "@videojs/generator-helpers": "~2.0.1",
  74. "karma": "^5.2.3",
  75. "rollup": "^2.38.0",
  76. "rollup-plugin-data-files": "^0.1.0",
  77. "sinon": "^9.2.3",
  78. "videojs-generate-karma-config": "^8.0.1",
  79. "videojs-generate-rollup-config": "~7.0.0",
  80. "videojs-generator-verify": "~3.0.1",
  81. "videojs-standard": "^8.0.4"
  82. },
  83. "generator-videojs-plugin": {
  84. "version": "7.7.3"
  85. },
  86. "husky": {
  87. "hooks": {
  88. "pre-commit": "lint-staged"
  89. }
  90. },
  91. "lint-staged": {
  92. "*.js": "vjsstandard --fix",
  93. "README.md": "doctoc --notitle"
  94. }
  95. }