- Create monorepo structure with apps/ and packages/ - Add Docker Compose for api, web, db, redis, worker services - Migrate existing Express.js logic to TypeScript with 100% backward compatibility - Preserve all existing API endpoints (/api/track, /api/v1/track) with identical behavior - Setup development environment with hot reload and proper networking - Add comprehensive TypeScript configuration with path mapping - Include production-ready Dockerfiles with multi-stage builds - Maintain existing rate limiting (100 req/hour/IP) and response formats - Add health checks and graceful shutdown handling - Setup Turbo for efficient monorepo builds and development
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"name": "@redirect-intelligence/web",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"@chakra-ui/react": "^2.8.2",
|
|
"@chakra-ui/icons": "^2.1.1",
|
|
"@emotion/react": "^11.11.1",
|
|
"@emotion/styled": "^11.11.0",
|
|
"framer-motion": "^10.16.16",
|
|
"@tanstack/react-query": "^5.17.9",
|
|
"@tanstack/react-query-devtools": "^5.17.9",
|
|
"react-router-dom": "^6.20.1",
|
|
"mermaid": "^10.6.1",
|
|
"axios": "^1.6.7",
|
|
"react-hook-form": "^7.48.2",
|
|
"@hookform/resolvers": "^3.3.2",
|
|
"zod": "^3.22.4",
|
|
"react-dropzone": "^14.2.3",
|
|
"date-fns": "^3.0.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.2.43",
|
|
"@types/react-dom": "^18.2.17",
|
|
"@types/node": "^20.10.0",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"typescript": "^5.3.0",
|
|
"vite": "^5.0.8",
|
|
"eslint": "^8.55.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
"@typescript-eslint/parser": "^6.14.0",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
"lint:fix": "eslint src --ext ts,tsx --fix",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|