refactor: use vite instead of CRA (#81)

* refactor: use vite instead of CRA

* skip deployments for now

* local env fixes
This commit is contained in:
2026-04-04 16:21:09 +02:00
committed by GitHub
parent 02872f61ce
commit 7c682373a5
19 changed files with 1045 additions and 9389 deletions
+14 -25
View File
@@ -2,6 +2,9 @@
"name": "kemkas",
"version": "0.1.0",
"private": true,
"engines": {
"node": ">=24"
},
"dependencies": {
"@grafana/faro-web-sdk": "^1.4.2",
"@pdf-lib/fontkit": "^1.1.1",
@@ -9,25 +12,19 @@
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^15.0.7",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.6",
"@types/node": "^20.14.10",
"@types/node": "^24.0.0",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.2.22",
"axios": "^1.7.4",
"bootstrap": "^5.3.2",
"downloadjs": "^1.4.7",
"http-proxy-middleware": "^2.0.6",
"jquery": "^3.6.0",
"merge": "^2.1.1",
"oidc-client": "^1.11.5",
"pdf-lib": "^1.17.1",
"react": "^18.3.1",
"react-bootstrap": "^2.10.2",
"react-dom": "^18.2.0",
"react-redux": "^9.1.2",
"react-router-dom": "^6.17.0",
"react-scripts": "5.0.1",
"rimraf": "^5.0.5",
"typescript": "^5.2.2",
"workbox-background-sync": "^7.1.0",
"workbox-broadcast-update": "^7.1.0",
@@ -43,23 +40,20 @@
"workbox-streams": "^7.1.0"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@vitejs/plugin-react": "^4.3.4",
"@types/downloadjs": "^1.4.4",
"cross-env": "^7.0.3",
"jsdom": "^25.0.1",
"less": "^4.2.0",
"less-loader": "^11.1.3"
"vite": "^5.4.10",
"vitest": "^2.1.3"
},
"scripts": {
"start": "rimraf ./build && react-scripts start",
"build": "react-scripts build",
"test": "cross-env CI=true react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
"dev": "vite",
"start": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest"
},
"browserslist": {
"production": [
@@ -72,10 +66,5 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"moduleNameMapper": {
"^axios$": "axios/dist/node/axios.cjs"
}
}
}