package.json 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "@videojs/vhs-utils",
  3. "version": "4.0.0",
  4. "description": "Objects and functions shared throughtout @videojs/http-streaming code",
  5. "repository": {
  6. "type": "git",
  7. "url": "git@github.com:videojs/vhs-utils.git"
  8. },
  9. "generator-videojs-plugin": {
  10. "version": "7.7.1"
  11. },
  12. "main": "./cjs/index.js",
  13. "module": "./es/index.js",
  14. "browser": "./dist/vhs-utils.js",
  15. "scripts": {
  16. "build": "npm-run-all -s clean -p build:*",
  17. "build-prod": "cross-env-shell NO_TEST_BUNDLE=1 'npm run build'",
  18. "build-test": "cross-env-shell TEST_BUNDLE_ONLY=1 'npm run build'",
  19. "build:js": "rollup -c scripts/rollup.config.js",
  20. "build:cjs": "babel-config-cjs -d ./cjs ./src",
  21. "build:es": "babel-config-es -d ./es ./src",
  22. "clean": "shx rm -rf ./dist ./test/dist ./cjs ./es && shx mkdir -p ./test/dist ./cjs ./es",
  23. "lint": "vjsstandard",
  24. "server": "karma start scripts/karma.conf.js --singleRun=false --auto-watch",
  25. "start": "npm-run-all -p server 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.js",
  29. "posttest": "shx cat test/dist/coverage/text.txt",
  30. "update-changelog": "conventional-changelog -p videojs -i CHANGELOG.md -s",
  31. "version": "is-prerelease || npm run update-changelog && git add CHANGELOG.md",
  32. "watch": "npm-run-all -p watch:*",
  33. "watch:js": "npm run build:js -- -w",
  34. "watch:cjs": "npm run build:cjs -- -w",
  35. "watch:es": "npm run build:es -- -w",
  36. "prepublishOnly": "npm-run-all build-prod && vjsverify --verbose --skip-es-check"
  37. },
  38. "engines": {
  39. "node": ">=8",
  40. "npm": ">=5"
  41. },
  42. "keywords": [
  43. "videojs",
  44. "videojs-plugin"
  45. ],
  46. "author": "brandonocasey <brandonocasey@gmail.com>",
  47. "license": "MIT",
  48. "vjsstandard": {
  49. "ignore": [
  50. "dist",
  51. "cjs",
  52. "es",
  53. "docs",
  54. "test/dist"
  55. ]
  56. },
  57. "files": [
  58. "CONTRIBUTING.md",
  59. "es/",
  60. "cjs/",
  61. "dist/",
  62. "docs/",
  63. "index.html",
  64. "scripts/",
  65. "src/",
  66. "test/"
  67. ],
  68. "husky": {
  69. "hooks": {
  70. "pre-commit": "lint-staged"
  71. }
  72. },
  73. "lint-staged": {
  74. "*.js": "vjsstandard --fix",
  75. "README.md": "doctoc --notitle"
  76. },
  77. "dependencies": {
  78. "@babel/runtime": "^7.12.5",
  79. "global": "^4.4.0",
  80. "url-toolkit": "^2.2.1"
  81. },
  82. "devDependencies": {
  83. "@babel/cli": "^7.12.8",
  84. "@brandonocasey/spawn-promise": "~0.2.0",
  85. "@videojs/babel-config": "^0.2.0",
  86. "@videojs/generator-helpers": "~2.0.1",
  87. "karma": "^5.2.3",
  88. "rollup": "^2.38.0",
  89. "videojs-generate-karma-config": "^8.0.1",
  90. "videojs-generate-rollup-config": "~7.0.0",
  91. "videojs-generator-verify": "~3.0.3",
  92. "videojs-standard": "^8.0.4"
  93. }
  94. }