package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "@videojs/xhr",
  3. "version": "2.6.0",
  4. "description": "small xhr abstraction",
  5. "keywords": [
  6. "xhr",
  7. "http",
  8. "xmlhttprequest",
  9. "xhr2",
  10. "browserify"
  11. ],
  12. "author": "Raynos <raynos2@gmail.com>",
  13. "repository": "git://github.com/videojs/xhr.git",
  14. "main": "./lib/index.js",
  15. "homepage": "https://github.com/videojs/xhr",
  16. "contributors": [
  17. {
  18. "name": "Jake Verbaten"
  19. },
  20. {
  21. "name": "Zbyszek Tenerowicz",
  22. "email": "naugtur@gmail.com"
  23. }
  24. ],
  25. "bugs": "https://github.com/videojs/xhr/issues",
  26. "typings": "./lib/index.d.ts",
  27. "dependencies": {
  28. "@babel/runtime": "^7.5.5",
  29. "is-function": "^1.0.1",
  30. "global": "~4.4.0"
  31. },
  32. "devDependencies": {
  33. "@babel/cli": "^7.14.8",
  34. "@babel/core": "^7.14.8",
  35. "@babel/preset-env": "^7.14.8",
  36. "@videojs/babel-config": "^0.1.0",
  37. "for-each": "^0.3.2",
  38. "pre-commit": "1.2.2",
  39. "run-browser": "naugtur/run-browser",
  40. "tap-spec": "^5.0.0",
  41. "tape": "^4.0.0"
  42. },
  43. "license": "MIT",
  44. "scripts": {
  45. "prepublishOnly": "npm run build",
  46. "start": "npm run build -- -w",
  47. "build": "babel-config-cjs src -d lib",
  48. "test:index": "run-browser test/index.js -b -m test/mock-server.js | tap-spec",
  49. "test:http-handler": "run-browser test/http-handler.js -b -m test/mock-server.js | tap-spec",
  50. "pretest": "npm run build",
  51. "test": "npm run test:index && npm run test:http-handler",
  52. "browser": "run-browser -m test/mock-server.js test/index.js"
  53. }
  54. }