-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 1018 Bytes
/
Copy pathpackage.json
File metadata and controls
37 lines (37 loc) · 1018 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
{
"name": "hicode-docs",
"version": "0.1.0",
"private": true,
"description": "基于 Next.js SSG 的 Markdown 文档站点,可发布到 GitHub Pages 与 Cloudflare Pages",
"scripts": {
"dev": "node scripts/generate-posts-json.mjs && next dev",
"build": "node scripts/generate-posts-json.mjs && next build",
"preview": "serve out",
"typecheck": "tsc --noEmit",
"clean": "rimraf .next out"
},
"dependencies": {
"gray-matter": "^4.0.3",
"next": "^16.2.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-markdown": "^10.1.0",
"rehype-highlight": "^7.0.0",
"rehype-slug": "^6.0.0",
"remark-directive": "^3.0.1",
"remark-gfm": "^4.0.1",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@types/mdast": "^4.0.4",
"@types/node": "^24.0.0",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"rimraf": "^6.0.1",
"serve": "^14.2.4",
"typescript": "^5.8.0"
},
"engines": {
"node": ">=20.9.0"
}
}