forked from wwsheng009/yao-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 2.21 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
{
"name": "yao-docs",
"version": "1.0.0",
"description": "yao documents",
"author": "wwsheng009 <[email protected]>",
"license": "MIT",
"repository": "https://github.com/wwsheng009/yao-docs",
"main": "index.js",
"scripts": {
"build:index": "tsx scripts/cleanup.ts && tsx scripts/generate_index.ts",
"generate": "pnpm run build:index && tsx scripts/generate.ts && npm run prettier -- ./docs/.vitepress/ --write",
"dev": "pnpm run generate && vitepress dev docs --host",
"build": "pnpm run generate && vitepress build docs",
"serve": "vitepress serve docs",
"lint": "eslint --cache .",
"lint:fix": "nr lint --fix",
"release": "tsx scripts/release.ts",
"update": "tsx scripts/update.ts",
"prettier": "npx prettier docs --check",
"prettier:fix": "npm run prettier -- --write"
},
"devDependencies": {
"@antfu/eslint-config": "^0.37.0",
"@antfu/ni": "^0.20.0",
"@iconify/json": "^2.2.7",
"@types/fs-extra": "^11.0.0",
"@types/md5": "^2.3.2",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@vite-pwa/vitepress": "^0.0.5",
"bumpp": "^9.0.0",
"busuanzi.pure.js": "^1.0.3",
"dayjs": "^1.11.7",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.10.0",
"esno": "^0.16.3",
"fast-glob": "^3.2.12",
"fs-extra": "^11.1.0",
"gray-matter": "^4.0.3",
"lint-staged": "^13.1.0",
"md5": "^2.3.0",
"medium-zoom": "^1.0.8",
"moment": "^2.29.4",
"ohmyfetch": "^0.4.21",
"postcss": "^8.4.21",
"postcss-nested": "^6.0.0",
"prettier": "^2.8.7",
"simple-git": "^3.15.1",
"simple-git-hooks": "^2.8.1",
"sitemap-ts": "^1.1.0",
"tsx": "^3.12.6",
"typescript": "^5.0.0",
"unocss": "^0.50.0",
"unplugin-icons": "^0.15.1",
"unplugin-vue-components": "^0.24.0",
"vite": "^4.0.4",
"vite-plugin-pwa": "^0.14.4",
"vitepress": "^1.0.0-alpha.61",
"vue": "^3.2.47",
"vue-eslint-parser": "^9.1.0"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts,tsx,vue,md}": [
"prettier --cache --write"
]
}
}