-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
51 lines (51 loc) · 1.24 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
{
"name": "blog",
"version": "1.0.0",
"description": "博客",
"main": "index.js",
"repository": "https://github.com/mengshang918/blog.git",
"author": "mengshang918",
"license": "MIT",
"scripts": {
"pre-push": "node scripts/pre-push",
"addFrontMatter": "node scripts/addFrontMatter",
"createSideBars": "node scripts/createSideBars",
"createTodoPage": "node scripts/createTodoPage",
"deploy": "cd website && yarn deploy"
},
"devDependencies": {
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^9.1.1",
"chalk": "^4.1.0",
"doctoc": "^1.4.0",
"eslint": "^7.5.0",
"execa": "^4.0.3",
"gray-matter": "^4.0.2",
"husky": "^4.2.5",
"inquirer": "^7.3.2",
"lint-staged": "^10.2.11",
"markmap-lib": "^0.7.11",
"minimist": "^1.2.5",
"ora": "^4.0.5",
"prettier": "^2.0.5",
"puppeteer": "^5.2.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run createSideBars",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "exec < /dev/tty && npm run pre-push"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --config .prettierrc.yml --write"
],
"*.md": [
"npm run addFrontMatter",
"npm run createTodoPage",
"prettier --config .prettierrc.yml --write"
]
}
}