49 lines
1.4 KiB
JSON
49 lines
1.4 KiB
JSON
{
|
|
"name": "jieyou-frontend",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host 0.0.0.0",
|
|
"build": "tsc --noEmit && vite build",
|
|
"preview": "vite preview --host 0.0.0.0",
|
|
"typecheck": "tsc --noEmit",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx,css}\" \"*.{js,ts,json}\"",
|
|
"format:check": "prettier --check \"src/**/*.{ts,tsx,css}\" \"*.{js,ts,json}\"",
|
|
"lint": "eslint . --max-warnings=0",
|
|
"test": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"check": "npm run format:check && npm run lint && npm run typecheck"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons": "^6.0.0",
|
|
"@tanstack/react-query": "^5.90.5",
|
|
"antd": "^5.27.6",
|
|
"antd-mobile": "^5.43.0",
|
|
"antd-mobile-icons": "^0.3.0",
|
|
"axios": "^1.13.2",
|
|
"dayjs": "^1.11.19",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"react-router-dom": "^7.9.4",
|
|
"zustand": "^5.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@types/node": "^24.10.1",
|
|
"@types/react": "^19.1.13",
|
|
"@types/react-dom": "^19.1.9",
|
|
"@vitejs/plugin-react": "^5.0.4",
|
|
"@vitest/coverage-v8": "^5.0.5",
|
|
"eslint": "^10.14.0",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
"globals": "^17.14.0",
|
|
"prettier": "^3.9.10",
|
|
"typescript": "~5.9.3",
|
|
"typescript-eslint": "^8.72.1",
|
|
"vite": "^7.2.4",
|
|
"vitest": "^5.0.5"
|
|
}
|
|
}
|