- Added support for a new `giveawayCreate` job in the bot's job processing, allowing for giveaways to be created via the WebUI. - Introduced `runGiveawayCreateJob` function to handle the creation of giveaways, ensuring consistent behavior with existing commands. - Updated `.env.example` to clarify the usage of `BOT_TOKEN` for both the bot and WebUI, enhancing documentation for environment variables. - Added `bullmq` dependency in the WebUI package for job management capabilities.
52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"name": "@nexumi/webui",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint src --max-warnings=0",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"prisma:generate": "prisma generate --schema=../bot/prisma/schema.prisma"
|
|
},
|
|
"dependencies": {
|
|
"@nexumi/shared": "workspace:^",
|
|
"@prisma/client": "^5.22.0",
|
|
"@radix-ui/react-avatar": "^1.2.3",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.21",
|
|
"@radix-ui/react-label": "^2.1.12",
|
|
"@radix-ui/react-select": "^2.3.4",
|
|
"@radix-ui/react-separator": "^1.1.12",
|
|
"@radix-ui/react-slot": "^1.3.0",
|
|
"@radix-ui/react-switch": "^1.3.4",
|
|
"bullmq": "^5.34.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"dotenv": "^16.4.7",
|
|
"ioredis": "^5.4.2",
|
|
"lucide-react": "^1.25.0",
|
|
"next": "15.5.21",
|
|
"next-themes": "^0.4.6",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^3.6.0",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "15.5.21",
|
|
"prisma": "^5.22.0",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5",
|
|
"vitest": "^2.1.8"
|
|
}
|
|
}
|