chore(deps): replace react scripts with Vitejs
parent
c5fae7b2
No related branches found
No related tags found
Showing
- favicon.ico 0 additions, 0 deletionsfavicon.ico
- index.html 62 additions, 0 deletionsindex.html
- manifest.json 0 additions, 0 deletionsmanifest.json
- package.json 9 additions, 4 deletionspackage.json
- src/components/SideBar/SideBar.tsx 4 additions, 7 deletionssrc/components/SideBar/SideBar.tsx
- src/vite-end.d.ts 1 addition, 0 deletionssrc/vite-end.d.ts
- tsconfig.json 3 additions, 2 deletionstsconfig.json
- vite.config.ts 24 additions, 0 deletionsvite.config.ts
- yarn.lock 2611 additions, 9242 deletionsyarn.lock
File moved
File moved
... | ... | @@ -3,8 +3,8 @@ |
"version": "1.0.0", | ||
"private": true, | ||
"scripts": { | ||
"start": "HTTPS=true react-scripts start", | ||
"build": "CI=false && react-scripts build", | ||
"start": "vite", | ||
"build": "tsc && vite build", | ||
"local-up": "docker-compose -f docker-compose.local.yml up -d && yarn start", | ||
"local-down": "docker-compose -f docker-compose.local.yml down", | ||
"docker": "docker run -it --rm -p 3000:3000 front-backoffice", | ||
... | ... | @@ -12,7 +12,8 @@ |
"lint:fix": "eslint --fix .", | ||
"format": "prettier --write \"./src/**/*.{js,jsx,ts,tsx,json,md}\"", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject" | ||
"eject": "react-scripts eject", | ||
"serve": "vite preview" | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
... | ... | @@ -37,6 +38,7 @@ |
"@types/html-to-draftjs": "^1.4.0", | ||
"@types/luxon": "^3.0.0", | ||
"@types/react-draft-wysiwyg": "^1.13.4", | ||
"@vitejs/plugin-react-swc": "^3.4.0", | ||
"ag-grid-community": "^30.0.0", | ||
"ag-grid-react": "^30.0.0", | ||
"axios": "^1.0.0", | ||
... | ... | @@ -51,10 +53,12 @@ |
"react-draft-wysiwyg": "^1.15.0", | ||
"react-query": "^3.39.3", | ||
"react-router-dom": "^6.0.0", | ||
"react-scripts": "^5.0.1", | ||
"react-toastify": "^9.0.0", | ||
"sass": "^1.35.2", | ||
"typescript": "^4.1.2", | ||
"vite": "^4.4.9", | ||
"vite-plugin-svgr": "^4.0.0", | ||
"vite-tsconfig-paths": "^4.2.1", | ||
"web-vitals": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
... | ... | @@ -63,6 +67,7 @@ |
"@types/react-dom": "^17.0.0", | ||
"@typescript-eslint/eslint-plugin": "^6.1.0", | ||
"@typescript-eslint/parser": "^6.1.0", | ||
"@vitejs/plugin-basic-ssl": "^1.0.1", | ||
"eslint": "^8.49.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.0", | ||
... | ... |
src/vite-end.d.ts
0 → 100644
vite.config.ts
0 → 100644
This diff is collapsed.
Please register or sign in to comment