-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
114 lines (114 loc) · 3.72 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "nodetomic-api",
"version": "2.0.1",
"description": "RESTful API Nodejs designed for horizontal scalability with support for cluster, based on Express, MongoDB, Redis, JWT, Socket.io, Passport",
"main": "src/app.js",
"repository": {
"type": "git",
"url": "git+https://github.com/kevoj/nodetomic-api.git"
},
"scripts": {
"start": "npm stop && pm2-dev pm2.dev.config.js",
"nodemon": "export NODE_ENV=development & set NODE_PATH=development && npm stop && nodemon src/app.js --exec babel-node -e js,yaml",
"build": "npm run lint && gulp build",
"test": "npm run simple && node ./node_modules/npm-delay 4000 && mocha --require babel-core/register && npm stop",
"stop": "pm2 delete pm2.simple.config.js pm2.cluster.config.js",
"lint": "eslint src --ext .js",
"dev-simple": "npm run build -- -dev && cd dist && npm stop && pm2-dev pm2.simple.config.js",
"dev-cluster": "npm run build -- -dev && cd dist && npm stop && pm2-dev pm2.cluster.config.js",
"simple": "npm run build && cd dist && npm run simple",
"cluster": "npm run build && cd dist && npm run cluster",
"update": "pm2 update"
},
"author": "Leonardo Rico Guevara - https://github.com/kevoj",
"license": "MIT",
"keywords": [
"RESTful",
"api-node",
"api-rest",
"rest-api",
"api-auth",
"node",
"node-cluster",
"node-socket",
"node-api",
"nodejs-api",
"api-socket.io",
"api-socket",
"scaling",
"socket.io",
"cluster-socket",
"nodejs",
"es6",
"es7",
"api",
"rest",
"redis",
"passport",
"passport-node",
"express",
"mongodb",
"cluster",
"horizontal",
"scalability"
],
"dependencies": {
"bcrypt": "^2.0.0",
"body-parser": "^1.18.2",
"chalk": "^2.3.2",
"compression": "^1.7.2",
"cookie-parser": "^1.4.3",
"cors": "^2.8.4",
"express": "^4.16.3",
"express-easy-helper": "1.1.0",
"express-session": "^1.15.6",
"helmet": "^3.12.0",
"method-override": "^2.3.10",
"mongoose": "5.0.14",
"mongoose-paginate": "^5.0.3",
"passport": "^0.4.0",
"passport-bitbucket": "^2.0.0",
"passport-facebook": "^2.1.1",
"passport-github": "^1.1.0",
"passport-google-oauth": "^1.0.0",
"passport-local": "^1.0.0",
"passport-twitter": "^1.0.4",
"pm2": "^2.10.2",
"redis-jwt": "^1.4.0",
"role-calc": "^1.1.6",
"serve-favicon": "^2.5.0",
"socket.io": "^2.1.0",
"socket.io-redis": "^5.2.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-plugin-transform-flow-comments": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-register": "^6.26.0",
"concurrently": "^3.5.1",
"eslint": "^4.19.1",
"gulp": "^3.9.1",
"gulp-babel": "^7.0.1",
"gulp-json-editor": "^2.3.0",
"gulp-minifier": "^1.2.2",
"gulp-rename": "^1.2.2",
"gulp-rimraf": "^0.2.2",
"mocha": "^5.0.5",
"morgan": "^1.9.0",
"nodemon": "^1.17.3",
"npm-delay": "^1.0.4",
"request": "^2.85.0",
"run-sequence": "^2.2.1"
},
"engines": {
"node": "^6.2.2",
"npm": "^3.9.5"
}
}