cf085770e7
- 新增 settings 表用于存储 public/private 两行 JSON 配置 - 添加 AdminSettings 相关类型定义和 API 接口 - 实现管理后台系统设置页面,支持可视化和 JSON 编辑模式 - 集成 CodeMirror 编辑器用于 JSON 配置编辑 - 添加系统设置相关的路由和接口 - 更新依赖包并修改相关样式和布局文件
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "infinite-canvas",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "next dev --webpack -H 0.0.0.0 -p 3000",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons": "^6.1.1",
|
|
"@ant-design/pro-components": "3.0.0-beta.3",
|
|
"@codemirror/lang-json": "^6.0.2",
|
|
"@tanstack/react-query": "^5.100.9",
|
|
"@uiw/react-codemirror": "^4.25.9",
|
|
"antd": "^6.4.2",
|
|
"axios": "^1.16.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"copy-to-clipboard": "^4.0.2",
|
|
"localforage": "^1.10.0",
|
|
"lucide-react": "^1.16.0",
|
|
"motion": "^12.38.0",
|
|
"nanoid": "^5.1.11",
|
|
"next": "16.2.3",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "19.2.5",
|
|
"react-dom": "19.2.5",
|
|
"shadcn": "^4.7.0",
|
|
"tailwind-merge": "^3.6.0",
|
|
"tailwindcss": "^4",
|
|
"tw-animate-css": "^1.4.0",
|
|
"zustand": "^5.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "19.1.12",
|
|
"@types/react-dom": "19.1.9",
|
|
"typescript": "^5"
|
|
}
|
|
}
|