package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "aedes-persistence",
  3. "version": "9.1.2",
  4. "description": "The spec for an Aedes persistence, with abstract tests and a fast in-memory implementation.",
  5. "main": "persistence.js",
  6. "types": "types/index.d.ts",
  7. "scripts": {
  8. "lint": "standard --verbose | snazzy",
  9. "lint-fix": "standard --fix",
  10. "unit": "tape test.js | faucet",
  11. "test:typescript": "tsd",
  12. "test": "npm run lint && npm run unit && tsd",
  13. "coverage": "nyc --reporter=lcov tape test.js",
  14. "test:ci": "npm run lint && npm run coverage && npm run test:typescript",
  15. "license-checker": "license-checker --production --onlyAllow='MIT;ISC;BSD-3-Clause;BSD-2-Clause'",
  16. "release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it --disable-metrics"
  17. },
  18. "release-it": {
  19. "github": {
  20. "release": true
  21. },
  22. "git": {
  23. "tagName": "v${version}"
  24. },
  25. "hooks": {
  26. "before:init": [
  27. "npm run test"
  28. ]
  29. },
  30. "npm": {
  31. "publish": true
  32. }
  33. },
  34. "pre-commit": [
  35. "test"
  36. ],
  37. "repository": {
  38. "type": "git",
  39. "url": "git+https://github.com/moscajs/aedes-persistence.git"
  40. },
  41. "keywords": [
  42. "mqtt",
  43. "broker",
  44. "persistence",
  45. "aedes"
  46. ],
  47. "author": "Matteo Collina <hello@matteocollina.com>",
  48. "contributors": [
  49. {
  50. "name": "Gnought",
  51. "url": "https://github.com/gnought"
  52. }
  53. ],
  54. "license": "MIT",
  55. "bugs": {
  56. "url": "https://github.com/moscajs/aedes-persistence/issues"
  57. },
  58. "homepage": "https://github.com/moscajs/aedes-persistence#readme",
  59. "engines": {
  60. "node": ">=14"
  61. },
  62. "devDependencies": {
  63. "@types/node": "^17.0.29",
  64. "aedes": "^0.46.3",
  65. "faucet": "0.0.1",
  66. "license-checker": "^25.0.1",
  67. "mqemitter": "^4.5.0",
  68. "nyc": "^15.1.0",
  69. "pre-commit": "^1.2.2",
  70. "release-it": "^14.14.2",
  71. "snazzy": "^9.0.0",
  72. "standard": "^17.0.0",
  73. "tape": "^5.5.3",
  74. "tsd": "^0.20.0"
  75. },
  76. "dependencies": {
  77. "aedes-packet": "^3.0.0",
  78. "qlobber": "^7.0.0"
  79. }
  80. }