mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-03 15:11:30 +00:00
106 lines
3.0 KiB
JSON
106 lines
3.0 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",
|
|
"lint:design": "eslint ./src -f json | node scripts/design-lint-report.mjs",
|
|
"format": "prettier ./src --write",
|
|
"prepare": "cd .. && husky install frontend/.husky"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{js,jsx,ts,tsx}": [
|
|
"npm run lint-fix",
|
|
"npm run format"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@reduxjs/toolkit": "^2.12.0",
|
|
"@shadcn/react": "^0.3.1",
|
|
"chart.js": "^4.5.1",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"copy-to-clipboard": "^4.0.2",
|
|
"d3-force": "^3.0.0",
|
|
"i18next": "^26.4.2",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"lodash": "^4.18.1",
|
|
"lucide-react": "^1.45.0",
|
|
"mermaid": "^12.0.0",
|
|
"micromark-util-character": "^2.1.1",
|
|
"micromark-util-symbol": "^2.0.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": "^10.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",
|
|
"remark-parse": "^11.0.0",
|
|
"remend": "^1.3.1",
|
|
"tailwind-merge": "^3.6.0",
|
|
"unified": "^11.0.5",
|
|
"unist-util-visit": "^5.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.5",
|
|
"@shadcn/lint": "^0.2.0",
|
|
"@tailwindcss/postcss": "^4.3.3",
|
|
"@types/d3-force": "^3.0.10",
|
|
"@types/lodash": "^4.17.25",
|
|
"@types/mdast": "^4.0.4",
|
|
"@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": "^18.3.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",
|
|
"globals": "^17.12.0",
|
|
"happy-dom": "^20.14.5",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^17.5.1",
|
|
"micromark-util-types": "^2.0.3",
|
|
"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": "^5.2.0",
|
|
"vitest": "^5.0.0"
|
|
},
|
|
"overrides": {
|
|
"lodash-es": "^4.18.1"
|
|
}
|
|
}
|