Files
pure-note/web/package.json
T
wangairnan 87d9bab5dc feat(web): 整体替换 UI 框架为 Ant Design 6 并接入自定义主题
以 antd ConfigProvider + antd-style 承载 zinc 风格自定义主题(明暗双套 token),
button/input/select/notification 用 createStyles 定制;三态主题经
darkAlgorithm 无刷新切换;use-toast 改基于 antd notification;
移除 shadcn/ui 组件目录与 radix 依赖;样式桥接层保证排版与多端布局不变。
2026-09-09 10:35:24 +08:00

48 lines
1.2 KiB
JSON

{
"name": "pure-note-web",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc --noEmit && vite build",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"@codemirror/lang-markdown": "^6.5.2",
"@tanstack/react-query": "^5.102.8",
"@uiw/react-codemirror": "^4.25.11",
"antd": "^6.6.3",
"antd-style": "^4.1.0",
"clsx": "^2.1.1",
"lucide-react": "^1.42.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-markdown": "^10.1.0",
"react-router": "^8.3.1",
"rehype-highlight": "^7.0.2",
"rehype-sanitize": "^6.0.0",
"remark-gfm": "^4.0.1"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.3.3",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^5.0.0",
"happy-dom": "^20.14.0",
"highlight.js": "^11.11.1",
"tailwindcss": "^4.3.3",
"typescript": "^5.9.2",
"vite": "^8.2.2",
"vitest": "^3.2.4"
},
"allowScripts": {
"esbuild@0.28.2": true
}
}