1 | {
|
2 | "name": "happn-3",
|
3 | "version": "11.10.2",
|
4 | "description": "pub/sub api as a service using primus and mongo & redis or nedb, can work as cluster, single process or embedded using nedb",
|
5 | "keywords": [
|
6 | "mongo",
|
7 | "nedb",
|
8 | "primus",
|
9 | "redis",
|
10 | "websockets"
|
11 | ],
|
12 | "repository": {
|
13 | "type": "git",
|
14 | "url": "https://github.com/happner/happn-3.git"
|
15 | },
|
16 | "license": "MIT",
|
17 | "author": "Tenacious and NSOFT",
|
18 | "main": "./lib/index",
|
19 | "scripts": {
|
20 | "coverage": "npm run test-cover && npm run report",
|
21 | "lint": "eslint '**/*.js'",
|
22 | "lint-fix": "eslint '**/*.js' --fix",
|
23 | "release": "rm -rf node_modules && npm install && npm run test-cover",
|
24 | "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",
|
25 | "report-coverage": "nyc report --reporter=text-lcov | coveralls",
|
26 | "test": "npm run lint && mocha --exit silence.js test/integration/** test/unit/** test/backward-compatibility/**",
|
27 | "test-010": "source ~/.nvm/nvm.sh && nvm use 0.10 && rm -rf node_modules && npm install && node_modules/mocha/bin/_mocha test/integration/**",
|
28 | "test-browser": "UPDATE_BROWSER_PRIMUS=true gulp --gulpfile test/browser/gulp-01.js",
|
29 | "test-cover": "UPDATE_BROWSER_PRIMUS=true nyc _mocha --exit silence.js test/integration/** test/unit/** test/backward-compatibility/**",
|
30 | "test-lint": "npm run lint",
|
31 | "test-longrunning": "node test/test-longrunning/serial-run.js",
|
32 | "test-perf": "npm run lint && mocha silence.js test/performance/subscriptions.js",
|
33 | "test-sanity": "mocha silence.js test/integration/**/*sanity.js",
|
34 | "test-unit": "mocha silence.js test/unit/**",
|
35 | "prepare": "rm -rf node_modules/happn-cluster/node_modules/happn-3 && rm -rf node_modules/happn/node_modules/happn-util-crypto && require-self"
|
36 | },
|
37 | "dependencies": {
|
38 | "async": "^3.2.0",
|
39 | "body-parser": "^1.18.3",
|
40 | "connect": "^3.6.6",
|
41 | "connect-cookies": "^0.0.0",
|
42 | "dev-null": "^0.1.1",
|
43 | "fast-clone": "^1.5.3",
|
44 | "fs-extra": "^7.0.1",
|
45 | "handlebars": "^4.7.6",
|
46 | "happn-logger": "^1.1.1",
|
47 | "happn-nedb": "^1.9.1",
|
48 | "happn-password-hash-and-salt": "^1.2.0",
|
49 | "happn-primus-wrapper": "^7.3.5",
|
50 | "happn-sillyname": "^0.1.1",
|
51 | "happn-stats": "^1.0.8",
|
52 | "happn-tcp-port-used": "^1.0.3",
|
53 | "happn-util-crypto": "^1.0.2",
|
54 | "happner-hyperid": "^2.0.0",
|
55 | "homedir": "^0.6.0",
|
56 | "hsts": "^2.1.0",
|
57 | "jsonpack": "^1.1.5",
|
58 | "jwt-simple": "^0.5.5",
|
59 | "lodash": "^4.17.15",
|
60 | "long-timeout": "^0.1.1",
|
61 | "lru-cache": "^5.1.1",
|
62 | "md5": "^2.2.1",
|
63 | "ms": "^2.1.1",
|
64 | "pem": "^1.14.1",
|
65 | "serve-static": "^1.13.2",
|
66 | "shortid": "^2.2.14",
|
67 | "sift": "^7.0.1",
|
68 | "tame-search": "^2.0.0",
|
69 | "traverse": "^0.6.6",
|
70 | "uglify-es": "^3.3.9",
|
71 | "user-home": "^2.0.0",
|
72 | "uuid": "^3.3.2",
|
73 | "ws": "6.1.4"
|
74 | },
|
75 | "devDependencies": {
|
76 | "await-delay": "^1.0.0",
|
77 | "byline": "5.0.0",
|
78 | "capture-stdout": "^1.0.0",
|
79 | "chai": "^4.2.0",
|
80 | "commander": "^4.1.0",
|
81 | "coveralls": "^3.0.6",
|
82 | "debug": "4.1.1",
|
83 | "eslint": "^6.5.1",
|
84 | "eslint-config-prettier": "^6.4.0",
|
85 | "eslint-plugin-prettier": "^3.1.1",
|
86 | "expect.js": "0.3.1",
|
87 | "gulp": "^4.0.0",
|
88 | "happn": "^2.21.3",
|
89 | "happn-cluster": "^8.1.3",
|
90 | "happn-random-activity-generator": "0.2.1",
|
91 | "happn-service-mongo-2": "^3.0.0",
|
92 | "happner-serial-mocha": "^1.5.2",
|
93 | "http-proxy": "^1.18.0",
|
94 | "jsprim": "^2.0.0",
|
95 | "karma": "^4.0.0",
|
96 | "karma-chai": "^0.1.0",
|
97 | "karma-chrome-launcher": "^3.0.0",
|
98 | "karma-coverage": "^2.0.2",
|
99 | "karma-mocha": "^1.3.0",
|
100 | "karma-mocha-reporter": "^2.2.5",
|
101 | "mocha": "^6.2.0",
|
102 | "mongodb": "^3.3.1",
|
103 | "npm-programmatic": "0.0.12",
|
104 | "nyc": "^13.3.0",
|
105 | "prettier": "^1.18.2",
|
106 | "request": "^2.88.0",
|
107 | "require-self": "^0.2.1",
|
108 | "sinon": "^9.2.4",
|
109 | "semver": "^7.1.1",
|
110 | "sinon-chai": "^3.5.0",
|
111 | "why-is-node-running": "^2.1.0"
|
112 | },
|
113 | "database": "1",
|
114 | "nyc": {
|
115 | "exclude": [
|
116 | "test",
|
117 | "docs",
|
118 | "gulpfile.js",
|
119 | "lib/services/connect/public/browser_primus.js"
|
120 | ]
|
121 | },
|
122 | "protocol": "4",
|
123 | "readmeFilename": "README.md"
|
124 | }
|