Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

package.json 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "eventemitter3",
  3. "version": "5.0.1",
  4. "description": "EventEmitter3 focuses on performance while maintaining a Node.js AND browser compatible interface.",
  5. "exports": {
  6. ".": {
  7. "types": "./index.d.ts",
  8. "import": "./index.mjs",
  9. "require": "./index.js"
  10. },
  11. "./package.json": "./package.json"
  12. },
  13. "main": "index.js",
  14. "types": "index.d.ts",
  15. "scripts": {
  16. "rollup": "rimraf dist umd && rollup -c",
  17. "benchmark": "find benchmarks/run -name '*.js' -exec benchmarks/start.sh {} \\;",
  18. "test": "c8 --reporter=lcov --reporter=text mocha test/test.js",
  19. "test-esm": "mocha test/test.mjs",
  20. "prepublishOnly": "npm run rollup",
  21. "test-browser": "node test/browser.js"
  22. },
  23. "files": [
  24. "index.js",
  25. "index.mjs",
  26. "index.d.ts",
  27. "dist"
  28. ],
  29. "repository": {
  30. "type": "git",
  31. "url": "git://github.com/primus/eventemitter3.git"
  32. },
  33. "keywords": [
  34. "EventEmitter",
  35. "EventEmitter2",
  36. "EventEmitter3",
  37. "Events",
  38. "addEventListener",
  39. "addListener",
  40. "emit",
  41. "emits",
  42. "emitter",
  43. "event",
  44. "once",
  45. "pub/sub",
  46. "publish",
  47. "reactor",
  48. "subscribe"
  49. ],
  50. "author": "Arnout Kazemier",
  51. "license": "MIT",
  52. "bugs": {
  53. "url": "https://github.com/primus/eventemitter3/issues"
  54. },
  55. "devDependencies": {
  56. "@rollup/plugin-commonjs": "^24.0.0",
  57. "@rollup/plugin-terser": "^0.4.0",
  58. "assume": "^2.2.0",
  59. "c8": "^7.3.1",
  60. "mocha": "^10.0.0",
  61. "pre-commit": "^1.2.0",
  62. "rimraf": "^4.1.2",
  63. "rollup": "^3.4.0",
  64. "sauce-browsers": "^3.0.0",
  65. "sauce-test": "^1.3.3"
  66. }
  67. }