feat: vite as build tool

This commit is contained in:
Rafael 2024-11-30 09:47:43 +00:00
parent f936386712
commit 00dc3d0fcd
120 changed files with 21298 additions and 15076 deletions

View file

@ -4,7 +4,7 @@
"license": "../LICENSE",
"dependencies": {
"@apollo/react-hooks": "^3.1.3",
"@lamassu/coins": "v1.4.0-beta.4",
"@lamassu/coins": "v1.5.1",
"@material-ui/core": "4.11.0",
"@material-ui/icons": "4.9.1",
"@material-ui/lab": "^4.0.0-alpha.56",
@ -29,7 +29,7 @@
"formik": "2.2.0",
"google-libphonenumber": "^3.2.22",
"graphql": "^14.5.8",
"graphql-tag": "^2.10.3",
"graphql-tag": "^2.12.6",
"jss-plugin-extend": "^10.0.0",
"jszip": "^3.6.0",
"libphonenumber-js": "^1.7.50",
@ -53,7 +53,9 @@
"yup": "0.32.9"
},
"devDependencies": {
"@vitejs/plugin-react-swc": "^3.7.2",
"@welldone-software/why-did-you-render": "^3.3.9",
"esbuild-plugin-react-virtualized": "^1.0.4",
"eslint": "^7.19.0",
"eslint-config-prettier": "^6.7.0",
"eslint-config-prettier-standard": "^3.0.1",
@ -72,7 +74,9 @@
"prettier-config-standard": "^1.0.1",
"react-scripts": "4.0.0",
"serve": "^11.3.2",
"source-map-explorer": "^2.4.2"
"source-map-explorer": "^2.4.2",
"vite": "^6.0.1",
"vite-plugin-svgr": "^4.3.0"
},
"husky": {
"hooks": {
@ -86,12 +90,11 @@
]
},
"scripts": {
"start": "react-scripts start",
"start": "vite --force",
"build": "vite build",
"preview": "vite preview",
"fix": "eslint --fix --ext .js,.md,.json src/",
"build": "react-scripts build",
"analyze": "source-map-explorer 'build/static/js/*.js'",
"test": "react-scripts test",
"eject": "react-scripts eject",
"postinstall": "patch-package"
},
"browserslist": {