refactor: add typescript & pnpm workspace & docker file

This commit is contained in:
Ralex
2025-10-16 23:12:40 +02:00
parent 8f73241f34
commit edb7146d6d
122 changed files with 7568 additions and 8502 deletions

View File

@@ -1,36 +1,15 @@
{
"name": "rahoot",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"socket": "node ./socket/index.js",
"all": "npm run build && concurrently --kill-others \"npm run start\" \"npm run socket\"",
"all-dev": "concurrently --kill-others \"npm run dev\" \"npm run socket\"",
"lint": "eslint .",
"next:lint": "next lint"
},
"dependencies": {
"clsx": "^2.1.0",
"concurrently": "^8.2.2",
"next": "^14.2.32",
"react": "^18",
"react-confetti": "^6.1.0",
"react-dom": "^18",
"react-hot-toast": "^2.4.1",
"socket.io": "^4.7.4",
"socket.io-client": "^4.7.4",
"use-sound": "^4.0.1",
"yup": "^1.3.3"
"dev": "dotenv -e .env -- pnpm -r --parallel dev",
"dev:web": "dotenv -e .env -- pnpm --filter web dev",
"dev:socket": "dotenv -e .env -- pnpm --filter socket dev",
"build": "pnpm -r run build",
"start": "pnpm -r --parallel run start",
"clean": "pnpm -r exec rm -rf dist node_modules"
},
"devDependencies": {
"autoprefixer": "^10.0.1",
"eslint": "^9.36.0",
"eslint-config-next": "^15.5.4",
"postcss": "^8",
"prettier-plugin-tailwindcss": "^0.5.14",
"tailwindcss": "^3.3.0"
"dotenv-cli": "^10.0.0",
"typescript": "^5.0.0"
}
}