-
Notifications
You must be signed in to change notification settings - Fork 459
/
package.json
81 lines (81 loc) · 2.18 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
{
"name": "nodejs-koa2-blog",
"version": "1.0.1",
"description": "基于 Node.js Koa2 实战开发的一套完整的博客项目网站,使用 Koa2 二次开发一套适合多端的 RESTful API,同时配套完整的后台管理系统,且前端展示既有基于 ejs 服务端渲染,也有基于 Vue.js 前后端分离的 2 套前端网站。",
"main": "app.js",
"scripts": {
"dev": "nodemon app.js",
"prd": "pm2 start ecosystem.config.js --env production",
"lint": "eslint --fix .",
"lint:fix": "prettier --write .",
"test": "jest _tests --forceExit --runInBand --colors"
},
"dependencies": {
"@koa/cors": "^3.4.3",
"koa": "^2.15.3",
"koa-bodyparser": "^4.4.1",
"koa-multer": "^1.0.2",
"koa-ratelimit": "^5.1.0",
"koa-router": "^7.4.0",
"koa-static": "^5.0.0",
"mysql2": "^2.3.3",
"basic-auth": "^2.0.1",
"bcryptjs": "^2.4.3",
"dotenv": "^16.4.5",
"hashids": "^2.3.0",
"highlight.js": "^11.10.0",
"jsonwebtoken": "^8.5.1",
"markdown-it": "^12.3.2",
"module-alias": "^2.2.3",
"require-directory": "^2.1.1",
"xss": "^1.0.15",
"moment": "^2.30.1",
"nodemon": "^2.0.22",
"sequelize": "^6.37.3",
"validator": "^10.11.0"
},
"devDependencies": {
"eslint": "7.32.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.3.3",
"jest": "^24.9.0",
"supertest": "^4.0.2"
},
"directories": {
"test": "_tests"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lfb/nodejs-koa-blog.git"
},
"homepage": "https://github.com/lfb/nodejs-koa-blog",
"keywords": [
"nodejs",
"koa2",
"sequelize",
"mysql",
"ejs",
"vuejs",
"JavaScript",
"博客网站",
"Node.js实战",
"ejs 服务端渲染"
],
"author": "Bobby Liang, https://github.com/lfb",
"license": "ISC",
"bugs": {
"url": "https://github.com/lfb/nodejs-koa-blog/issues"
},
"_moduleAliases": {
"@": ".",
"@app": "app",
"@core": "core",
"@middlewares": "middlewares",
"@api": "app/api",
"@dao": "app/dao",
"@lib": "app/lib",
"@models": "app/models",
"@service": "app/service",
"@validators": "app/validators"
}
}