This commit is contained in:
dasha 2023-04-09 23:05:42 +04:00
parent 5d8837809a
commit af4b235a51
3 changed files with 1047 additions and 2058 deletions

3089
front/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -15,15 +15,16 @@
"react-router-dom": "^6.4.4" "react-router-dom": "^6.4.4"
}, },
"scripts": { "scripts": {
"start": "parcel --port 3000", "start": "vite --port 3000",
"build": "npm run clean && parcel build", "build": "npm run clean && vite build",
"clean": "rimraf dist" "clean": "rimraf dist"
}, },
"devDependencies": { "devDependencies": {
"buffer": "^5.7.1", "buffer": "^5.7.1",
"parcel": "2.8.3",
"process": "^0.11.10", "process": "^0.11.10",
"rimraf": "4.4.0" "rimraf": "4.4.0",
"vite": "^3.2.3",
"@vitejs/plugin-react": "^2.2.0"
}, },
"eslintConfig": { "eslintConfig": {
"extends": [ "extends": [

7
front/vite.config.js Normal file
View File

@ -0,0 +1,7 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()]
})