backend_and_cms/frontend/package.json

58 lines
1.8 KiB
JSON
Raw Normal View History

2024-09-17 12:11:39 +08:00
{
"name": "frontend",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "biome check --apply-unsafe --no-errors-on-unmatched --files-ignore-unknown=true ./",
"preview": "vite preview",
"generate-client": "openapi-ts --input ./openapi.json --output ./src/client --client axios --exportSchemas true && biome format --write ./src/client"
},
"dependencies": {
"@chakra-ui/icons": "2.1.1",
"@chakra-ui/react": "2.8.2",
"@emotion/react": "11.11.3",
"@emotion/styled": "11.11.0",
"@tanstack/react-query": "^5.28.14",
"@tanstack/react-query-devtools": "^5.28.14",
"@tanstack/react-router": "1.19.1",
"axios": "1.7.4",
"draft-js": "^0.11.7",
"draftjs-to-html": "^0.9.1",
"form-data": "4.0.0",
"framer-motion": "10.16.16",
"html-react-parser": "^5.1.15",
"html-to-draftjs": "^1.5.0",
"moment": "^2.30.1",
"react": "^18.2.0",
"react-datetime-picker": "^6.0.1",
"react-dom": "^18.2.0",
"react-draft-wysiwyg": "^1.15.0",
"react-easy-sort": "^1.6.0",
"react-error-boundary": "^4.0.13",
"react-hook-form": "7.49.3",
"react-icons": "5.0.1",
"slate": "^0.103.0",
"slate-react": "^0.110.0"
},
"devDependencies": {
"@biomejs/biome": "1.6.1",
"@hey-api/openapi-ts": "^0.34.1",
"@playwright/test": "^1.45.2",
"@tanstack/router-devtools": "1.19.1",
"@tanstack/router-vite-plugin": "1.19.0",
"@types/draftjs-to-html": "^0.8.4",
"@types/html-to-draftjs": "^1.4.3",
"@types/node": "^20.10.5",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@types/react-draft-wysiwyg": "^1.13.8",
"@vitejs/plugin-react-swc": "^3.5.0",
"dotenv": "^16.4.5",
"typescript": "^5.2.2",
"vite": "^5.0.13"
}
}