mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-02-22 09:42:01 +00:00
- Updated `package.json` to add a new script for pushing Prisma database changes. - Refactored payment processing functions to include payment method handling for both wallet and transfer options. - Improved `DevicesTable` and `AdminDevicesTable` components to support new payment method display and user association. - Updated Prisma schema to introduce a new `PaymentType` enum and modified the `Payment` model to include a `method` field. - Enhanced UI components to improve user experience in displaying payment and device information. These changes improve the overall functionality and maintainability of the application, particularly in payment processing and device management.
69 lines
1.9 KiB
JSON
69 lines
1.9 KiB
JSON
{
|
|
"name": "sarlink-portal",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "bunx prisma migrate deploy && bunx prisma generate && bunx prisma db push && next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"studio": "bunx prisma studio",
|
|
"push": "bunx prisma db push"
|
|
},
|
|
"prisma": {
|
|
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@faker-js/faker": "^9.3.0",
|
|
"@hookform/resolvers": "^3.9.1",
|
|
"@prisma/client": "^6.1.0",
|
|
"@radix-ui/react-alert-dialog": "^1.1.2",
|
|
"@radix-ui/react-checkbox": "^1.1.2",
|
|
"@radix-ui/react-collapsible": "^1.1.1",
|
|
"@radix-ui/react-dialog": "^1.1.2",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
|
"@radix-ui/react-label": "^2.1.0",
|
|
"@radix-ui/react-popover": "^1.1.2",
|
|
"@radix-ui/react-scroll-area": "^1.2.1",
|
|
"@radix-ui/react-select": "^2.1.2",
|
|
"@radix-ui/react-separator": "^1.1.1",
|
|
"@radix-ui/react-slot": "^1.1.0",
|
|
"@radix-ui/react-tooltip": "^1.1.4",
|
|
"@tanstack/react-query": "^5.61.4",
|
|
"better-auth": "^1.0.0",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.0.0",
|
|
"date-fns": "^4.1.0",
|
|
"jotai": "2.8.0",
|
|
"lucide-react": "^0.460.0",
|
|
"moment": "^2.30.1",
|
|
"motion": "^11.15.0",
|
|
"next": "15.1.2",
|
|
"next-themes": "^0.4.3",
|
|
"nextjs-toploader": "^3.7.15",
|
|
"prisma": "^6.1.0",
|
|
"react": "19.0.0",
|
|
"react-aria-components": "^1.5.0",
|
|
"react-day-picker": "^8.10.1",
|
|
"react-dom": "19.0.0",
|
|
"react-hook-form": "^7.53.2",
|
|
"react-phone-number-input": "^3.4.9",
|
|
"sonner": "^1.7.1",
|
|
"tailwind-merge": "^2.6.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"vaul": "^1.1.2",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.2",
|
|
"@types/react": "^19.0.2",
|
|
"@types/react-dom": "^19.0.2",
|
|
"eslint": "^9.17.0",
|
|
"eslint-config-next": "15.1.2",
|
|
"postcss": "^8.4.49",
|
|
"tailwindcss": "^3.4.17",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.7.2"
|
|
}
|
|
} |