Files
OpenFlare/frontend/package.json
T
ryan 5a8722ff07 feat(frontend): 控制台 next-intl 中英双语
接入无 URL 前缀的 zh-CN/en,顶栏与外观设置可切换语言;选择写入 cookie 后刷新生效。
2026-08-16 16:49:16 +08:00

108 lines
3.5 KiB
JSON

{
"name": "openflare",
"version": "dev",
"private": true,
"scripts": {
"predev": "node scripts/generate-themes.js",
"prebuild": "node scripts/generate-themes.js",
"dev": "next dev --turbopack -p 3001",
"build": "next build",
"build:embed": "NEXT_STANDALONE_EXPORT=true next build",
"start": "next start -p 3010",
"lint": "eslint",
"format": "biome format --write .",
"format:check": "biome format .",
"check:i18n": "node scripts/check-i18n-keys.mjs"
},
"dependencies": {
"@codemirror/lang-html": "^6.4.12",
"@codemirror/lang-sql": "^6.10.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@fontsource/noto-sans-sc": "^5.3.0",
"@hookform/resolvers": "^5.7.1",
"@radix-ui/react-accordion": "^1.2.20",
"@radix-ui/react-alert-dialog": "^1.1.23",
"@radix-ui/react-avatar": "^1.2.6",
"@radix-ui/react-checkbox": "^1.3.11",
"@radix-ui/react-dialog": "^1.1.23",
"@radix-ui/react-dropdown-menu": "^2.1.24",
"@radix-ui/react-label": "^2.1.15",
"@radix-ui/react-popover": "^1.1.23",
"@radix-ui/react-progress": "^1.1.16",
"@radix-ui/react-scroll-area": "^1.2.18",
"@radix-ui/react-select": "^2.3.7",
"@radix-ui/react-separator": "^1.1.15",
"@radix-ui/react-slider": "^1.4.7",
"@radix-ui/react-slot": "^1.3.3",
"@radix-ui/react-switch": "^1.3.7",
"@radix-ui/react-tabs": "^1.1.21",
"@radix-ui/react-toggle": "^1.1.18",
"@radix-ui/react-toggle-group": "^1.1.19",
"@radix-ui/react-tooltip": "^1.2.16",
"@radix-ui/react-visually-hidden": "^1.2.11",
"@tabler/icons-react": "^3.46.0",
"@tanstack/react-query": "^5.101.4",
"@tanstack/react-table": "^9.0.0",
"@tanstack/react-virtual": "^3.14.9",
"@uiw/react-codemirror": "^4.25.11",
"@xyflow/react": "^12.11.2",
"axios": "^1.19.0",
"babel-plugin-react-compiler": "^1.0.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"country-region-data": "^4.1.0",
"date-fns": "^4.4.0",
"echarts": "^6.1.0",
"echarts-for-react": "^3.0.6",
"embla-carousel-react": "^8.6.0",
"input-otp": "^1.4.2",
"jspdf": "^4.2.1",
"lucide-react": "^1.28.0",
"motion": "^12.43.0",
"next": "16.3.0",
"next-intl": "^4.13.6",
"next-themes": "^0.4.6",
"pinyin-match": "^1.2.10",
"radix-ui": "^1.6.7",
"react": "19.2.8",
"react-day-picker": "^10.0.1",
"react-dom": "19.2.8",
"react-easy-crop": "^6.2.3",
"react-hook-form": "^7.84.0",
"react-image-crop": "^11.1.2",
"react-markdown": "^10.1.0",
"react-syntax-highlighter": "^16.1.1",
"recharts": "3.10.1",
"rehype-highlight": "^7.0.2",
"rehype-slug": "^6.0.0",
"remark-gfm": "^4.0.1",
"sonner": "^2.0.7",
"tailwind-merge": "^3.6.0",
"vaul": "^1.1.2",
"zod": "^4.4.3"
},
"devDependencies": {
"@biomejs/biome": "^2.5.7",
"@tailwindcss/postcss": "^4.3.3",
"@tailwindcss/typography": "^0.5.20",
"@testing-library/jest-dom": "^7.0.0",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.3",
"@types/node": "^26.1.2",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"eslint": "^9.39.5",
"eslint-config-next": "16.3.0",
"eslint-plugin-unused-imports": "^4.4.1",
"jsdom": "^30.0.1",
"tailwindcss": "^4.3.3",
"tw-animate-css": "^1.4.0",
"typescript": "^6.0.3",
"vitest": "^4.1.10"
}
}