package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "bare-events",
  3. "version": "2.8.2",
  4. "description": "Event emitters for JavaScript",
  5. "exports": {
  6. "./package": "./package.json",
  7. ".": {
  8. "types": "./index.d.ts",
  9. "default": "./index.js"
  10. },
  11. "./global": {
  12. "types": "./global.d.ts",
  13. "default": "./global.js"
  14. },
  15. "./web": {
  16. "types": "./web.d.ts",
  17. "default": "./web.js"
  18. },
  19. "./errors": "./lib/errors.js"
  20. },
  21. "files": [
  22. "index.js",
  23. "index.d.ts",
  24. "global.js",
  25. "global.d.ts",
  26. "web.js",
  27. "web.d.ts",
  28. "lib"
  29. ],
  30. "scripts": {
  31. "test": "npm run lint && npm run test:bare && npm run test:node",
  32. "test:bare": "bare test.js",
  33. "test:node": "node test.js",
  34. "lint": "prettier . --check"
  35. },
  36. "repository": {
  37. "type": "git",
  38. "url": "git+https://github.com/holepunchto/bare-events.git"
  39. },
  40. "author": "Holepunch",
  41. "license": "Apache-2.0",
  42. "bugs": {
  43. "url": "https://github.com/holepunchto/bare-events/issues"
  44. },
  45. "homepage": "https://github.com/holepunchto/bare-events#readme",
  46. "devDependencies": {
  47. "bare-abort-controller": "^1.0.0",
  48. "brittle": "^3.3.2",
  49. "prettier": "^3.4.2",
  50. "prettier-config-holepunch": "^2.0.0",
  51. "uncaughts": "^1.1.1"
  52. },
  53. "peerDependencies": {
  54. "bare-abort-controller": "*"
  55. },
  56. "peerDependenciesMeta": {
  57. "bare-abort-controller": {
  58. "optional": true
  59. }
  60. }
  61. }