package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. {
  2. "name": "aedes",
  3. "version": "0.51.3",
  4. "description": "Stream-based MQTT broker",
  5. "main": "aedes.js",
  6. "types": "aedes.d.ts",
  7. "scripts": {
  8. "lint": "npm run lint:standard && npm run lint:typescript && npm run lint:markdown",
  9. "lint:fix": "standard --fix && eslint -c types/.eslintrc.json --fix aedes.d.ts types/**/*.ts test/types/**/*.test-d.ts",
  10. "lint:standard": "standard --verbose | snazzy",
  11. "lint:typescript": "eslint -c types/.eslintrc.json aedes.d.ts types/**/*.ts test/types/**/*.test-d.ts",
  12. "lint:markdown": "markdownlint docs/*.md README.md",
  13. "test": "npm run lint && npm run unit && npm run test:typescript",
  14. "test:ci": "npm run lint && npm run unit -- --cov --no-check-coverage --coverage-report=lcovonly && npm run test:typescript",
  15. "test:report": "npm run lint && npm run unit:report && npm run test:typescript",
  16. "test:typescript": "tsd",
  17. "unit": "tap -J test/*.js",
  18. "unit:report": "tap -J test/*.js --cov --coverage-report=html --coverage-report=cobertura | tee out.tap",
  19. "license-checker": "license-checker --production --onlyAllow=\"MIT;ISC;BSD-3-Clause;BSD-2-Clause;0BSD\"",
  20. "release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it --disable-metrics"
  21. },
  22. "release-it": {
  23. "github": {
  24. "release": true
  25. },
  26. "git": {
  27. "tagName": "v${version}"
  28. },
  29. "hooks": {
  30. "before:init": [
  31. "npm run test:ci"
  32. ]
  33. },
  34. "npm": {
  35. "publish": true
  36. }
  37. },
  38. "pre-commit": [
  39. "test"
  40. ],
  41. "tsd": {
  42. "directory": "test/types"
  43. },
  44. "standard": {
  45. "ignore": [
  46. "types/*",
  47. "test/types/*"
  48. ]
  49. },
  50. "repository": {
  51. "type": "git",
  52. "url": "git+https://github.com/moscajs/aedes.git"
  53. },
  54. "keywords": [
  55. "mqtt",
  56. "broker",
  57. "server",
  58. "mqtt-server",
  59. "stream",
  60. "streams",
  61. "publish",
  62. "subscribe",
  63. "pubsub",
  64. "messaging",
  65. "mosca",
  66. "mosquitto",
  67. "iot",
  68. "internet",
  69. "of",
  70. "things"
  71. ],
  72. "author": "Matteo Collina <hello@matteocollina.com>",
  73. "contributors": [
  74. {
  75. "name": "Gavin D'mello",
  76. "url": "https://github.com/GavinDmello"
  77. },
  78. {
  79. "name": "Behrad Zari",
  80. "url": "https://github.com/behrad"
  81. },
  82. {
  83. "name": "Gnought",
  84. "url": "https://github.com/gnought"
  85. },
  86. {
  87. "name": "Daniel Lando",
  88. "url": "https://github.com/robertsLando"
  89. }
  90. ],
  91. "license": "MIT",
  92. "funding": {
  93. "type": "opencollective",
  94. "url": "https://opencollective.com/aedes"
  95. },
  96. "bugs": {
  97. "url": "https://github.com/moscajs/aedes/issues"
  98. },
  99. "homepage": "https://github.com/moscajs/aedes#readme",
  100. "engines": {
  101. "node": ">=16"
  102. },
  103. "devDependencies": {
  104. "@sinonjs/fake-timers": "^11.2.2",
  105. "@types/node": "^20.11.17",
  106. "@typescript-eslint/eslint-plugin": "^7.0.1",
  107. "@typescript-eslint/parser": "^7.0.1",
  108. "concat-stream": "^2.0.0",
  109. "duplexify": "^4.1.2",
  110. "license-checker": "^25.0.1",
  111. "markdownlint-cli": "^0.41.0",
  112. "mqtt": "^5.3.5",
  113. "mqtt-connection": "^4.1.0",
  114. "pre-commit": "^1.2.2",
  115. "proxyquire": "^2.1.3",
  116. "release-it": "^17.0.5",
  117. "snazzy": "^9.0.0",
  118. "standard": "^17.1.0",
  119. "tap": "^16.3.10",
  120. "tsd": "^0.31.0",
  121. "typescript": "^5.3.3",
  122. "websocket-stream": "^5.5.2"
  123. },
  124. "dependencies": {
  125. "aedes-packet": "^3.0.0",
  126. "aedes-persistence": "^9.1.2",
  127. "end-of-stream": "^1.4.4",
  128. "fastfall": "^1.5.1",
  129. "fastparallel": "^2.4.1",
  130. "fastseries": "^2.0.0",
  131. "hyperid": "^3.2.0",
  132. "mqemitter": "^6.0.0",
  133. "mqtt-packet": "^9.0.0",
  134. "retimer": "^4.0.0",
  135. "reusify": "^1.0.4",
  136. "uuid": "^10.0.0"
  137. }
  138. }