UNPKG

aedes-persistence-mongodb

Version:
72 lines (71 loc) 2.01 kB
{ "name": "aedes-persistence-mongodb", "version": "9.3.0", "description": "MongoDB persistence for Aedes ", "main": "persistence.js", "scripts": { "lint": "eslint", "lint:fix": "eslint --fix", "unit": "node --test --test-timeout=180000 --test-concurrency=1 test/*.js", "test": "npm run lint && npm run unit", "coverage": "c8 --reporter=lcov npm run unit", "check-coverage": "c8 check-coverage --lines 90 --functions 98 --branches 85", "test:ci": "npm run lint && npm run coverage", "license-checker": "license-checker --production --onlyAllow='MIT;ISC;BSD-3-Clause;BSD-2-Clause;0BSD;Apache-2.0;Apache*'", "release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it --disable-metrics", "mongodb": "docker run -d --rm --name mongodb -p 27017:27017 mongo:8.0.9" }, "release-it": { "github": { "release": true }, "git": { "tagName": "v${version}" }, "hooks": { "before:init": [ "npm run test" ] }, "npm": { "publish": true } }, "precommit": "test", "repository": { "type": "git", "url": "git+https://github.com/moscajs/aedes-persistence-mongodb.git" }, "engines": { "node": ">=20.0.0" }, "keywords": [ "Aedes", "MQTT", "broker", "mosca", "persistence", "mongodb" ], "author": "Matteo Collina <hello@matteocollina.com>", "license": "MIT", "bugs": { "url": "https://github.com/moscajs/aedes-persistence-mongodb/issues" }, "homepage": "https://github.com/moscajs/aedes-persistence-mongodb#readme", "devDependencies": { "@fastify/pre-commit": "^2.2.0", "c8": "^10.1.3", "eslint": "^9.26.0", "license-checker": "^25.0.1", "mqemitter-mongodb": "^9.0.1", "neostandard": "^0.12.1", "release-it": "^19.0.3" }, "dependencies": { "aedes-persistence": "^10.2.0", "escape-string-regexp": "^4.0.0", "mongodb": "6.16", "qlobber": "^8.0.1" } }