-
Notifications
You must be signed in to change notification settings - Fork 103
/
Copy pathpackage.json
44 lines (44 loc) · 1.09 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
{
"name": "zotero-guide-zh",
"version": "0.0.0",
"description": "Zotero 中文手册",
"type": "module",
"scripts": {
"docs:dev": "vitepress dev --open",
"docs:build": "vitepress build",
"docs:preview": "vitepress preview",
"lint:fix": "markdownlint-cli2 --fix **/*.md && prettier --write .",
"lint:check": "markdownlint-cli2 **/*.md && prettier --check .",
"git:sync-force": "bash scripts/sync-force.sh",
"prepare": "husky"
},
"devDependencies": {
"@mdit/plugin-footnote": "0.14.0",
"@mdit/plugin-mark": "^0.14.0",
"@types/node": "22.10.3",
"husky": "9.1.7",
"lint-staged": "15.3.0",
"markdownlint-cli2": "0.17.1",
"markdownlint-rule-search-replace": "^1.2.0",
"prettier": "2.8.8",
"vitepress": "1.5.0"
},
"prettier": {
"tabWidth": 2,
"printWidth": 80,
"proseWrap": "preserve",
"endOfLine": "lf",
"overrides": [
{
"files": "**/*.ts",
"options": {
"printWidth": 120
}
}
]
},
"lint-staged": {
"*.md": "prettier --write"
},
"packageManager": "[email protected]"
}