mirror of
https://github.com/patdelphi/suanming.git
synced 2026-02-27 21:23:12 +08:00
feat: 完成易经64卦数据补全和本地化改造
- 完全按照logic/yijing.txt补全所有64卦的完整数据结构 - 包含每卦的卦辞、象传、六爻详解和人生指导 - 重建八字、易经、紫微斗数三个核心分析器 - 实现完整的本地SQLite数据库替代Supabase - 添加本地Express.js后端服务器 - 更新前端API调用为本地接口 - 实现JWT本地认证系统 - 完善历史记录和用户管理功能
This commit is contained in:
27
package.json
27
package.json
@@ -4,11 +4,14 @@
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "yes | pnpm install && vite",
|
||||
"build": "yes | pnpm install && rm -rf node_modules/.vite-temp && tsc -b && vite build",
|
||||
"build:prod": "yes | pnpm install && rm -rf node_modules/.vite-temp && tsc -b && BUILD_MODE=prod vite build",
|
||||
"lint": "yes | pnpm install && eslint .",
|
||||
"preview": "yes | pnpm install && vite preview"
|
||||
"dev": "concurrently \"npm run server\" \"vite\"",
|
||||
"server": "nodemon server/index.cjs",
|
||||
"build": "tsc -b && vite build",
|
||||
"build:prod": "tsc -b && BUILD_MODE=prod vite build",
|
||||
"lint": "eslint .",
|
||||
"preview": "vite preview",
|
||||
"start": "node server/index.cjs",
|
||||
"db:init": "node server/scripts/initDatabase.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hookform/resolvers": "^3.10.0",
|
||||
@@ -39,21 +42,23 @@
|
||||
"@radix-ui/react-toggle": "^1.1.1",
|
||||
"@radix-ui/react-toggle-group": "^1.1.1",
|
||||
"@radix-ui/react-tooltip": "^1.1.6",
|
||||
"@supabase/supabase-js": "^2.55.0",
|
||||
"bcryptjs": "^3.0.2",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"better-sqlite3": "^12.2.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "1.0.0",
|
||||
"concurrently": "^8.2.2",
|
||||
"cors": "^2.8.5",
|
||||
"date-fns": "^3.0.0",
|
||||
"embla-carousel-react": "^8.5.2",
|
||||
"express": "^5.1.0",
|
||||
"helmet": "^8.1.0",
|
||||
"express": "^4.18.2",
|
||||
"helmet": "^7.1.0",
|
||||
"input-otp": "^1.4.2",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"lucide-react": "^0.364.0",
|
||||
"next-themes": "^0.4.4",
|
||||
"node-fetch": "^2.7.0",
|
||||
"nodemon": "^3.0.2",
|
||||
"react": "^18.3.1",
|
||||
"react-day-picker": "8.10.1",
|
||||
"react-dom": "^18.3.1",
|
||||
@@ -69,6 +74,10 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.15.0",
|
||||
"@types/bcryptjs": "^2.4.6",
|
||||
"@types/cors": "^2.8.17",
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/jsonwebtoken": "^9.0.5",
|
||||
"@types/node": "^22.10.7",
|
||||
"@types/react": "^18.3.12",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
|
||||
Reference in New Issue
Block a user