Add initial project structure with API and web components

This commit is contained in:
2025-03-09 16:52:10 +01:00
parent 7af6cb2d2b
commit 2001ef1a82
12 changed files with 210 additions and 0 deletions

36
vote-web/package.json Normal file
View File

@@ -0,0 +1,36 @@
{
"name": "vote-web",
"private": true,
"type": "module",
"scripts": {
"build": "react-router build",
"dev": "react-router dev",
"start": "react-router-serve ./build/server/index.js",
"typecheck": "react-router typegen && tsc"
},
"dependencies": {
"@react-router/node": "^7.3.0",
"@react-router/serve": "^7.3.0",
"isbot": "^5.1.17",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router": "^7.3.0"
},
"devDependencies": {
"@react-router/dev": "^7.3.0",
"@tailwindcss/vite": "^4.0.0",
"@types/node": "^20",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"react-router-devtools": "^1.1.0",
"tailwindcss": "^4.0.0",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-tsconfig-paths": "^5.1.4"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
}
}