build(frontend): replace create-react-app with vite (#272)

This commit is contained in:
Julian Tölle 2023-05-07 04:05:11 +02:00 committed by GitHub
parent 8721fd101d
commit eb8fe11be6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 4700 additions and 22943 deletions

View file

@ -17,26 +17,30 @@
"@types/react-dom": "18.2.4",
"@types/react-router-dom": "5.3.3",
"@types/recharts": "1.8.24",
"@vitejs/plugin-react": "4.0.0",
"autoprefixer": "10.4.14",
"axios": "0.27.2",
"date-fns": "2.30.0",
"eslint-config-react-app": "7.0.1",
"jsdom": "22.0.0",
"npm-run-all": "4.1.5",
"postcss": "8.4.23",
"prettier": "2.8.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-router-dom": "6.11.1",
"react-scripts": "5.0.1",
"recharts": "2.5.0",
"tailwindcss": "3.3.2",
"typescript": "4.9.5"
"typescript": "4.9.5",
"vite": "4.3.5",
"vitest": "0.31.0"
},
"scripts": {
"format": "prettier --write \"./*.js\" \"src/**/*.(tsx|ts|css)\"",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"start": "vite",
"build": "vite build",
"serve": "vite preview",
"test": "vitest --passWithNoTests"
},
"eslintConfig": {
"extends": [