mirror of
https://github.com/LiuYuYang01/ThriveX-Blog.git
synced 2026-11-17 05:58:27 +08:00
- 新增 HeaderLayout 类型定义,支持 classic 和 capsule 两种布局 - 新增菜单栏子组件 Submenu,实现下拉菜单的网格布局和样式 - 新增 useHeaderData 自定义 Hook,封装菜单栏数据获取和交互逻辑 - 新增两种菜单栏布局组件:Classic(经典通栏)和 Capsule(悬浮胶囊) - 移除原有的 eslint 检查从 dev 脚本中,优化开发启动速度
105 lines
2.8 KiB
JSON
Executable File
105 lines
2.8 KiB
JSON
Executable File
{
|
|
"name": "thrive-blog",
|
|
"version": "3.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"postbuild": "node scripts/copy-standalone-assets.mjs",
|
|
"start": "next start -p 9001",
|
|
"lint": "eslint ."
|
|
},
|
|
"author": {
|
|
"name": "刘宇阳",
|
|
"email": "liuyuyang1024@yeah.net",
|
|
"url": "https://liuyuyang.net"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.9",
|
|
"npm": ">=10"
|
|
},
|
|
"dependencies": {
|
|
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
"@dicebear/collection": "^9.2.1",
|
|
"@dicebear/core": "^9.2.1",
|
|
"@hcaptcha/react-hcaptcha": "^1.12.1",
|
|
"aos": "^3.0.0-beta.6",
|
|
"canvas-confetti": "^1.9.3",
|
|
"clsx": "^2.1.1",
|
|
"dayjs": "^1.11.13",
|
|
"dompurify": "^3.2.6",
|
|
"echarts": "^5.5.1",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
"feed": "^4.2.2",
|
|
"framer-motion": "^12.7.4",
|
|
"github-markdown-css": "^5.6.1",
|
|
"highlight.js": "^11.11.1",
|
|
"html-react-parser": "^5.2.5",
|
|
"katex": "^0.16.22",
|
|
"mdast-util-gfm-autolink-literal": "^2.0.0",
|
|
"next": "16.2.10",
|
|
"next-nprogress-bar": "^2.3.13",
|
|
"react": "19.2.7",
|
|
"react-dom": "19.2.7",
|
|
"react-github-calendar": "^4.5.5",
|
|
"react-hook-form": "^7.53.0",
|
|
"react-icon-cloud": "^4.1.7",
|
|
"react-icons": "^5.3.0",
|
|
"react-markdown": "^10.1.0",
|
|
"react-masonry-css": "^1.0.16",
|
|
"react-photo-view": "^1.2.6",
|
|
"react-toastify": "^10.0.5",
|
|
"rehype-callouts": "^1.4.1",
|
|
"rehype-highlight": "^7.0.0",
|
|
"rehype-katex": "^7.0.1",
|
|
"rehype-raw": "^7.0.0",
|
|
"rehype-semantic-blockquotes": "^3.0.7",
|
|
"remark-gfm": "^4.0.0",
|
|
"remark-mark-highlight": "^0.1.1",
|
|
"remark-math": "^6.0.0",
|
|
"sass": "^1.77.8",
|
|
"sharp": "^0.33.5",
|
|
"tailwind-merge": "^3.0.2",
|
|
"typed.js": "^2.1.0",
|
|
"use-sync-external-store": "^1.5.0",
|
|
"zustand": "^5.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.31.0",
|
|
"@next/eslint-plugin-next": "16.2.10",
|
|
"@tailwindcss/postcss": "^4.1.11",
|
|
"@types/aos": "^3.0.7",
|
|
"@types/canvas-confetti": "^1.6.4",
|
|
"@types/markdown-navbar": "^1.4.4",
|
|
"@types/node": "^20",
|
|
"@types/react": "19.2.17",
|
|
"@types/react-dom": "19.2.3",
|
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
"eslint": "^9.31.0",
|
|
"eslint-config-next": "^16.2.10",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"globals": "^16.3.0",
|
|
"postcss": "^8",
|
|
"tailwindcss": "^4.1.11",
|
|
"typescript": "^5",
|
|
"typescript-eslint": "^8.38.0"
|
|
},
|
|
"overrides": {
|
|
"@types/react": "19.2.17",
|
|
"@types/react-dom": "19.2.3"
|
|
},
|
|
"pnpm": {
|
|
"ignoredBuiltDependencies": [
|
|
"@parcel/watcher",
|
|
"es5-ext",
|
|
"sharp"
|
|
],
|
|
"onlyBuiltDependencies": [
|
|
"@parcel/watcher",
|
|
"es5-ext",
|
|
"sharp"
|
|
]
|
|
}
|
|
}
|