UNPKG

aedes-persistence

Version:

The spec for an Aedes persistence, with abstract tests and a fast in-memory implementation.

80 lines (79 loc) 2.02 kB
{ "name": "aedes-persistence", "version": "10.2.0", "description": "The spec for an Aedes persistence, with abstract tests and a fast in-memory implementation.", "main": "persistence.js", "types": "types/index.d.ts", "scripts": { "lint": "eslint", "lint:fix": "eslint --fix", "unit": "node --test test/*.js", "test:typescript": "tsd", "test": "npm run lint && npm run unit && tsd", "coverage": "c8 --reporter=lcov npm run unit", "coverage:report": "c8 report", "test:ci": "npm run lint && npm run coverage && npm run test:typescript", "license-checker": "license-checker --production --onlyAllow='MIT;ISC;BSD-3-Clause;BSD-2-Clause'", "release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it --disable-metrics" }, "release-it": { "github": { "release": true }, "git": { "tagName": "v${version}" }, "hooks": { "before:init": [ "npm run test" ] }, "npm": { "publish": true } }, "pre-commit": [ "test" ], "repository": { "type": "git", "url": "git+https://github.com/moscajs/aedes-persistence.git" }, "keywords": [ "mqtt", "broker", "persistence", "aedes" ], "author": "Matteo Collina <hello@matteocollina.com>", "contributors": [ { "name": "Gnought", "url": "https://github.com/gnought" } ], "license": "MIT", "bugs": { "url": "https://github.com/moscajs/aedes-persistence/issues" }, "homepage": "https://github.com/moscajs/aedes-persistence#readme", "engines": { "node": ">=20" }, "devDependencies": { "@fastify/pre-commit": "^2.2.0", "@types/node": "^22.15.21", "aedes": "^0.51.3", "c8": "^10.1.3", "eslint": "^9.27.0", "license-checker": "^25.0.1", "mqemitter": "^7.0.0", "neostandard": "^0.12.1", "release-it": "^19.0.2", "tsd": "^0.32.0" }, "dependencies": { "aedes-packet": "^3.0.0", "qlobber": "^8.0.1" } }