-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 959 Bytes
/
package.json
File metadata and controls
40 lines (40 loc) · 959 Bytes
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
{
"name": "blog-api",
"version": "0.0.1",
"private": true,
"description": "小黎博客后端",
"author": {
"name": "小黎",
"email": "22708206@qq.com",
"url": "https://xiaoli.vip"
},
"scripts": {
"start": "node ./bin/www",
"lint": "eslint .",
"fix": "eslint --fix .",
"doc": "apidoc -i routes/ -o docs/"
},
"dependencies": {
"dayjs": "^1.10.8",
"express": "^4.17.3",
"express-useragent": "^1.0.15",
"mysql2": "^2.3.3",
"sequelize": "^6.17.0"
},
"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"husky": "^4.3.8"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}