package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "eventsource",
  3. "version": "2.0.2",
  4. "description": "W3C compliant EventSource client for Node.js and browser (polyfill)",
  5. "keywords": [
  6. "eventsource",
  7. "http",
  8. "streaming",
  9. "sse",
  10. "polyfill"
  11. ],
  12. "homepage": "http://github.com/EventSource/eventsource",
  13. "author": "Aslak Hellesøy <aslak.hellesoy@gmail.com>",
  14. "repository": {
  15. "type": "git",
  16. "url": "git://github.com/EventSource/eventsource.git"
  17. },
  18. "bugs": {
  19. "url": "http://github.com/EventSource/eventsource/issues"
  20. },
  21. "directories": {
  22. "lib": "./lib"
  23. },
  24. "main": "./lib/eventsource",
  25. "license": "MIT",
  26. "licenses": [
  27. {
  28. "type": "MIT",
  29. "url": "http://github.com/EventSource/eventsource/raw/master/LICENSE"
  30. }
  31. ],
  32. "devDependencies": {
  33. "buffer-from": "^1.1.1",
  34. "express": "^4.15.3",
  35. "mocha": "^3.5.3",
  36. "nyc": "^11.2.1",
  37. "serve-static": "^1.12.3",
  38. "ssestream": "^1.0.0",
  39. "standard": "^10.0.2",
  40. "webpack": "^3.5.6"
  41. },
  42. "scripts": {
  43. "test": "mocha --reporter spec && standard",
  44. "polyfill": "webpack lib/eventsource-polyfill.js example/eventsource-polyfill.js",
  45. "postpublish": "git push && git push --tags",
  46. "coverage": "nyc --reporter=html --reporter=text _mocha --reporter spec"
  47. },
  48. "engines": {
  49. "node": ">=12.0.0"
  50. },
  51. "dependencies": {},
  52. "standard": {
  53. "ignore": [
  54. "example/eventsource-polyfill.js"
  55. ],
  56. "globals": [
  57. "URL"
  58. ]
  59. }
  60. }