transitioned from astro to react

This commit is contained in:
Peter Wood
2025-06-04 21:03:32 -04:00
parent 570ed2d1b4
commit 52547578a7
32 changed files with 2631 additions and 4865 deletions

View File

@@ -3,10 +3,14 @@
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
"dev": "concurrently \"npm run server:dev\" \"npm run client:dev\"",
"client:dev": "vite",
"server:dev": "tsx watch server/index.ts",
"build": "npm run client:build && npm run server:build",
"client:build": "vite build",
"server:build": "tsc --project server/tsconfig.json",
"preview": "npm run build && npm start",
"start": "node dist/server/index.js",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
@@ -21,9 +25,6 @@
"prepare": "husky"
},
"dependencies": {
"@astrojs/cloudflare": "^12.5.3",
"@astrojs/node": "^9.2.2",
"@astrojs/react": "^4.3.0",
"@fortawesome/fontawesome-free": "^6.7.2",
"@nanostores/react": "^1.0.0",
"@prisma/client": "^6.8.2",
@@ -34,27 +35,35 @@
"@radix-ui/react-toast": "^1.2.14",
"@types/react": "^19.1.5",
"@types/react-dom": "^19.1.5",
"astro": "^5.8.0",
"cors": "^2.8.5",
"dotenv": "^16.5.0",
"express": "^4.21.2",
"nanostores": "^1.0.1",
"react": "^19.1.0",
"react-dom": "^19.1.0"
"react-dom": "^19.1.0",
"react-router-dom": "^6.23.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/node": "^22.15.21",
"@types/supertest": "^6.0.3",
"@vitejs/plugin-react": "^4.5.0",
"@vitest/coverage-v8": "^3.1.4",
"concurrently": "^8.2.2",
"husky": "^9.1.7",
"jsdom": "^26.1.0",
"prisma": "^6.8.2",
"supertest": "^7.1.1",
"ts-node": "^10.9.2",
"vitest": "^3.1.4",
"wrangler": "^4.16.1"
"tsx": "^4.7.1",
"typescript": "^5.7.3",
"vite": "^5.2.0",
"vitest": "^3.1.4"
},
"prisma": {
"seed": "node prisma/seed.js"