UNPKG

happn-3

Version:

pub/sub api as a service using primus and mongo & redis or nedb, can work as cluster, single process or embedded using nedb

123 lines (122 loc) 4.13 kB
{ "name": "happn-3", "version": "11.5.1", "description": "pub/sub api as a service using primus and mongo & redis or nedb, can work as cluster, single process or embedded using nedb", "keywords": [ "mongo", "nedb", "primus", "redis", "websockets" ], "repository": { "type": "git", "url": "https://github.com/happner/happn-3.git" }, "license": "MIT", "author": "Tenacious and NSOFT", "main": "./lib/index", "scripts": { "coverage": "npm run test-cover && npm run report", "lint": "eslint '**/*.js'", "lint-fix": "eslint '**/*.js' --fix", "release": "rm -rf node_modules && npm install && npm run test-cover", "pre-release": "rm -rf node_modules && rm -f package-lock.json && npm install && npm run test-browser && UPDATE_BROWSER_PRIMUS=true npm run test-cover", "report-coverage": "nyc report --reporter=text-lcov | coveralls", "test": "npm run lint && mocha --exit silence.js test/integration/** test/unit/** test/backward-compatibility/**", "test-010": "source ~/.nvm/nvm.sh && nvm use 0.10 && rm -rf node_modules && npm install && node_modules/mocha/bin/_mocha test/integration/**", "test-browser": "UPDATE_BROWSER_PRIMUS=true gulp --gulpfile test/browser/gulp-01.js", "test-cover": "UPDATE_BROWSER_PRIMUS=true nyc _mocha --exit silence.js test/integration/** test/unit/** test/backward-compatibility/**", "test-lint": "npm run lint", "test-longrunning": "node test/test-longrunning/serial-run.js", "test-perf": "npm run lint && mocha silence.js test/performance/subscriptions.js", "test-sanity": "mocha silence.js test/integration/**/*sanity.js", "test-unit": "mocha silence.js test/unit/**", "prepare": "rm -rf node_modules/happn-cluster/node_modules/happn-3 && rm -rf node_modules/happn/node_modules/happn-util-crypto && require-self" }, "dependencies": { "async": "^3.2.0", "bluebird": "^3.5.0", "body-parser": "^1.18.3", "connect": "^3.6.6", "connect-cookies": "^0.0.0", "dev-null": "^0.1.1", "fast-clone": "^1.5.3", "fs-extra": "^7.0.1", "handlebars": "^4.1.0", "happn-logger": "^0.1.1", "happn-nedb": "^1.9.1", "happn-password-hash-and-salt": "^1.2.0", "happn-primus-wrapper": "^7.3.5", "happn-sillyname": "^0.1.1", "happn-stats": "^1.0.8", "happn-tcp-port-used": "^1.0.3", "happn-util-crypto": "^1.0.2", "happner-hyperid": "^2.0.0", "homedir": "^0.6.0", "hsts": "^2.1.0", "jsonpack": "^1.1.5", "jwt-simple": "^0.5.5", "lodash": "^4.17.15", "long-timeout": "^0.1.1", "lru-cache": "^5.1.1", "md5": "^2.2.1", "ms": "^2.1.1", "pem": "^1.14.1", "serve-static": "^1.13.2", "shortid": "^2.2.14", "sift": "^7.0.1", "tame-search": "^1.4.1", "traverse": "^0.6.6", "uglify-es": "^3.3.9", "user-home": "^2.0.0", "uuid": "^3.3.2", "ws": "6.1.4" }, "devDependencies": { "await-delay": "^1.0.0", "byline": "5.0.0", "chai": "^4.2.0", "commander": "^4.1.0", "coveralls": "^3.0.6", "debug": "4.1.1", "eslint": "^6.5.1", "eslint-config-prettier": "^6.4.0", "eslint-plugin-prettier": "^3.1.1", "expect.js": "0.3.1", "gulp": "^4.0.0", "happn": "^2.21.3", "happn-cluster": "^8.1.3", "happn-random-activity-generator": "0.2.1", "happn-service-mongo-2": "^3.0.0", "happner-serial-mocha": "^1.5.2", "http-proxy": "^1.18.0", "jsprim": "^2.0.0", "karma": "^4.0.0", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.0.0", "karma-coverage": "^2.0.2", "karma-mocha": "^1.3.0", "karma-mocha-reporter": "^2.2.5", "mocha": "^6.2.0", "mongodb": "^3.3.1", "npm-programmatic": "0.0.12", "nyc": "^13.3.0", "prettier": "^1.18.2", "request": "^2.88.0", "require-self": "^0.2.1", "semver": "^7.1.1", "why-is-node-running": "^2.1.0" }, "database": "1", "nyc": { "exclude": [ "test", "docs", "gulpfile.js", "lib/services/connect/public/browser_primus.js" ] }, "protocol": "4", "readmeFilename": "README.md" }