-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
100 lines (100 loc) · 3.14 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
{
"name": "node-server",
"version": "1.0.0",
"description": "基于node.js技术栈的服务器端项目框架示例",
"author": "[email protected]",
"keywords": [
"node.js",
"express",
"restful api",
"node-frameworek"
],
"repository": {
"type": "git",
"url": "https://github.com/xiaoping6688/node-server-project"
},
"license": "MIT",
"private": false,
"scripts": {
"installall": "(cnpm install) && (cd client && cnpm install)",
"dev": "cross-env NODE_ENV=development supervisor -w server,app.js ./bin/www",
"testing": "pm2 startOrRestart ./config/pm2.config.js --env testing",
"simu": "pm2 startOrRestart ./config/pm2.config.js --env simulation",
"prod": "pm2 startOrRestart ./config/pm2.config.js --env production",
"setup:test": "pm2 deploy ./config/pm2.config.js testing setup",
"setup:simu": "pm2 deploy ./config/pm2.config.js simulation setup",
"setup:prod": "pm2 deploy ./config/pm2.config.js production setup",
"deploy:test": "pm2 deploy ./config/pm2.config.js testing --force",
"deploy:simu": "pm2 deploy ./config/pm2.config.js simulation",
"deploy:prod": "pm2 deploy ./config/pm2.config.js production",
"stop": "pm2 stop ./config/pm2.config.js",
"reload": "pm2 reload ./config/pm2.config.js",
"list": "pm2 list",
"monit": "pm2 monit",
"logs": "pm2 logs",
"gui": "./node_modules/.bin/pm2-gui start ../../config/pm2-gui.ini",
"debug": "node-debug ./bin/www",
"client": "cd client && npm build",
"live:client": "cd client && npm start",
"live:server": "cross-env NODE_ENV=development gulp browser-sync",
"test": "./node_modules/mocha/bin/mocha",
"lint": "./node_modules/.bin/eslint app.js server",
"update": "ncu -u -a"
},
"dependencies": {
"amqplib": "^0.5.1",
"amqplib-rpc": "^2.0.4",
"blueimp-md5": "^2.7.0",
"body-parser": "~1.17.1",
"bunnymq": "^2.2.2",
"compression": "^1.6.2",
"cookie-parser": "~1.4.3",
"cors": "^2.8.1",
"express": "~4.15.2",
"express-jwt": "^5.1.0",
"file-stream-rotator": "0.1.0",
"form-data": "^2.1.2",
"hbs": "~4.0.1",
"html-minifier": "^3.4.2",
"jsonwebtoken": "^7.3.0",
"lodash": "^4.17.4",
"memory-cache": "^0.1.6",
"mongoose": "^4.8.6",
"mongoosedao": "^1.0.13",
"morgan": ">=1.9.1",
"mount-routes": "^1.0.6",
"multer": "^1.3.0",
"mysql": "^2.13.0",
"mysql2": "^1.2.0",
"node-fetch": "^1.6.3",
"pg": "^6.1.4",
"pg-hstore": "^2.3.2",
"redis": "^2.7.0",
"request": "^2.81.0",
"request-promise": "^4.1.1",
"sequelize": "^5.3.0",
"serve-favicon": "~2.4.1",
"sqlite3": "^3.1.8",
"thrift": "^0.10.0"
},
"devDependencies": {
"browser-sync": "^2.18.8",
"cross-env": "^3.2.3",
"eslint": "^3.17.1",
"eslint-config-standard": "^7.0.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^2.1.1",
"gulp": "^3.9.1",
"gulp-nodemon": "^2.2.1",
"if-env": "^1.0.0",
"mocha": "^3.2.0",
"pm2": "^2.4.2",
"pm2-gui": "^0.1.4",
"supertest": "^3.0.0",
"supervisor": "^0.12.0"
},
"engines": {
"node": ">= 7.0.0",
"npm": ">= 3.10.0"
}
}