-
Notifications
You must be signed in to change notification settings - Fork 114
/
package.json
38 lines (38 loc) · 968 Bytes
/
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
{
"name": "jimmylv.github.io",
"version": "1.0.0",
"description": "Jimmy's articles.",
"main": "index.js",
"repository": "git@github.com:JimmyLv/jimmylv.github.io.git",
"author": "JimmyLv <jimmy.jinglv@gmail.com>",
"license": "MIT",
"private": true,
"scripts": {
"format": "prettier --write **/*.md",
"lint": "textlint **/*.md",
"lint:fix": "yarn lint --fix",
"ppt": "nodeppt generate ./演讲 ./slides -a"
},
"lint-staged": {
"*.md": [
"textlint --fix",
"git add"
]
},
"husky": {
"hooks": {
"post-commit": "git update-index --again",
"pre-commit": "pretty-quick --staged && lint-staged"
}
},
"devDependencies": {
"nodeppt": "^1.4.5",
"husky": "^4.2.3",
"lint-staged": "^7.3.0",
"prettier": "2.0.2",
"pretty-quick": "^2.0.1",
"textlint": "11.6.2",
"textlint-rule-ja-space-between-half-and-full-width": "2.0.1",
"textlint-rule-no-todo": "2.0.1"
}
}