mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-04 18:13:03 +00:00
Applies all semver-compatible updates in frontend/: React 19.3, Vite 8.3, vitest 4.1.11, radix-ui 1.6.7, lucide-react 1.45, mermaid 11.17, typescript-eslint 8.70, tailwind 4.3.3, i18next 26.4 and others. Clears all 4 npm audit advisories (js-yaml GHSA-2883-xcg3-v3hh high, @vitest/mocker GHSA-82fw-gwwq-j7x9, @humanfs/node GHSA-p498-v437-472g). 598 tests pass, build clean, lint unchanged from baseline.
97 lines
2.8 KiB
JSON
97 lines
2.8 KiB
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22 <23"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"lint": "eslint ./src --ext .jsx,.js,.ts,.tsx",
|
|
"lint-fix": "eslint ./src --ext .jsx,.js,.ts,.tsx --fix",
|
|
"format": "prettier ./src --write",
|
|
"prepare": "cd .. && husky install frontend/.husky"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{js,jsx,ts,tsx}": [
|
|
"npm run lint-fix",
|
|
"npm run format"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
"@radix-ui/react-slot": "^1.3.3",
|
|
"@radix-ui/react-switch": "^1.3.7",
|
|
"@radix-ui/react-tabs": "^1.1.21",
|
|
"@reduxjs/toolkit": "^2.12.0",
|
|
"@shadcn/react": "0.3.0",
|
|
"chart.js": "^4.5.1",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"copy-to-clipboard": "^3.3.3",
|
|
"d3-force": "^3.0.0",
|
|
"date-fns": "^4.4.0",
|
|
"i18next": "^26.4.2",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"lodash": "^4.18.1",
|
|
"lucide-react": "^1.45.0",
|
|
"mermaid": "^11.17.2",
|
|
"prop-types": "^15.8.1",
|
|
"radix-ui": "^1.6.7",
|
|
"react": "^19.3.0",
|
|
"react-chartjs-2": "^5.3.1",
|
|
"react-day-picker": "^10.0.1",
|
|
"react-dom": "^19.3.0",
|
|
"react-dropzone": "^20.1.1",
|
|
"react-force-graph-2d": "^1.29.1",
|
|
"react-google-drive-picker": "^1.2.2",
|
|
"react-i18next": "^17.0.13",
|
|
"react-markdown": "^9.1.0",
|
|
"react-redux": "^9.3.0",
|
|
"react-router-dom": "^7.18.3",
|
|
"react-syntax-highlighter": "^16.1.1",
|
|
"reactflow": "^11.11.4",
|
|
"rehype-katex": "^7.0.1",
|
|
"remark-gfm": "^4.0.1",
|
|
"remark-math": "^6.0.0",
|
|
"tailwind-merge": "^3.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.3.3",
|
|
"@types/d3-force": "^3.0.10",
|
|
"@types/lodash": "^4.17.25",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
"@typescript-eslint/eslint-plugin": "^8.70.0",
|
|
"@typescript-eslint/parser": "^8.70.0",
|
|
"@vitejs/plugin-react": "^6.1.1",
|
|
"eslint": "^9.39.5",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-n": "^17.24.0",
|
|
"eslint-plugin-prettier": "^5.5.6",
|
|
"eslint-plugin-promise": "^7.3.0",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
"happy-dom": "^20.14.5",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^17.5.1",
|
|
"postcss": "^8.5.28",
|
|
"prettier": "^3.9.6",
|
|
"prettier-plugin-tailwindcss": "^0.8.1",
|
|
"tailwindcss": "^4.3.1",
|
|
"tw-animate-css": "^1.4.0",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^8.3.0",
|
|
"vite-plugin-svgr": "^4.5.0",
|
|
"vitest": "^4.1.11"
|
|
}
|
|
}
|