-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
109 lines (109 loc) · 3.02 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
{
"name": "gaoqi-blog",
"version": "1.0.6",
"private": true,
"main": "app.js",
"description": "A Node.js blog using MongoDB",
"repository": {
"type": "git",
"url": "git+https://github.com/luoyjx/gaoqi-blog.git"
},
"customHost": [
"blog.gaoqixhb.com"
],
"scripts": {
"dev": "node app.js",
"preinstall": "node bin/pre_install.js",
"build": "./node_modules/.bin/loader views .",
"prestart": "npm install && npm run build",
"start": "cross-env NODE_ENV=production ./node_modules/.bin/pm2 start app.js --name 'gaoqiblog' -i max --node-args='--max-old-space-size=300'",
"prerestart": "npm install && npm run build",
"restart": "cross-env NODE_ENV=production ./node_modules/.bin/pm2 restart gaoqiblog",
"reboot": "cross-env NODE_ENV=production ./node_modules/.bin/pm2 restart gaoqiblog",
"pretest": "npm install && npm run lint",
"test": "npx nyc mocha --reporter spec -r should -r test/env --timeout 10000 --exit ./test/**/*.test.js",
"test-cov": "npx nyc report --reporter=text-lcov | coveralls",
"lint": "npx eslint --ext .js ."
},
"engines": {
"node": ">=10"
},
"dependencies": {
"bcryptjs": "^2.3.0",
"bluebird": "^3.7.1",
"body-parser": "^1.19.0",
"compression": "^1.6.2",
"connect-busboy": "0.0.2",
"connect-redis": "^4.0.3",
"cookie-parser": "^1.4.3",
"cors": "^2.7.1",
"cross-env": "^6.0.3",
"csurf": "^1.9.0",
"data2xml": "^1.2.5",
"ejs-mate": "^2.3.0",
"express": "^4.17.1",
"express-session": "^1.17.0",
"gravatar": "^1.8.0",
"html2markdown": "*",
"ioredis": "^4.14.1",
"loader": "^2.1.1",
"loader-builder": "^2.3.0",
"lodash": "^4.17.15",
"lynx": "^0.2.0",
"markdown-it": "^11.0.0",
"method-override": "^3.0.0",
"mkdirp": "^0.5.1",
"moment": "^2.14.1",
"mongoose": "^5.7.10",
"multiline": "^2.0.0",
"node-uuid": "^1.4.7",
"nodejieba": "^2.2.4",
"nodemailer": "^6.3.1",
"nodemailer-smtp-transport": "^2.7.3",
"passport": "^0.4.0",
"passport-github": "^1.1.0",
"pm2": "^4.1.2",
"qn": "^1.3.0",
"ready": "^0.1.1",
"request": "^2.88.0",
"response-time": "^2.3.1",
"twit": "^2.2.5",
"utility": "^1.8.0",
"validator": "^13.0.0",
"xmlbuilder": "^13.0.2",
"xss": "*"
},
"devDependencies": {
"coveralls": "^3.0.7",
"errorhandler": "^1.5.1",
"eslint": "^6.6.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.0.2",
"lint-staged": "^9.4.3",
"loader-connect": "*",
"mm": "*",
"mocha": "^6.2.2",
"nock": "*",
"nyc": "^14.1.1",
"pedding": "*",
"prettier": "^2.0.0",
"should": "*",
"supertest": "*"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.js": [
"prettier --no-semi --single-quote --write",
"npm run lint",
"git add"
]
}
}