Files
dokploy/apps/licenses/package.json
Mauricio Siu 39e6a98179 feat(licenses): add license management and user authentication features
- Introduced a new SQL schema for managing licenses and users, including foreign key relationships.
- Implemented API routes for license validation, activation, and OTP-based user authentication.
- Updated the license creation process to associate licenses with users and handle server IPs.
- Added support for the nanoid package to generate unique license keys.
- Refactored existing code to improve modularity and maintainability, including the separation of license and stripe-related logic into dedicated API routes.
- Enhanced error handling and logging for better debugging and user feedback.
2025-03-23 18:32:50 -06:00

49 lines
1.2 KiB
JSON

{
"name": "@dokploy/licenses",
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "PORT=4002 tsx watch -r dotenv/config src/index.ts",
"build": "tsc --project tsconfig.json",
"start": "node dist/index.js",
"typecheck": "tsc --noEmit",
"generate": "drizzle-kit generate",
"drop": "drizzle-kit drop",
"push": "drizzle-kit push",
"migrate": "tsx ./migrate.ts",
"truncate": "tsx ./truncate.ts",
"reset:all": "tsx ./truncate.ts && tsx ./migrate.ts",
"studio": "drizzle-kit studio"
},
"dependencies": {
"nanoid": "5.1.5",
"@react-email/components": "^0.0.21",
"@hono/node-server": "^1.12.1",
"@hono/zod-validator": "0.3.0",
"@react-email/render": "^1.0.5",
"@types/pg": "^8.11.11",
"dotenv": "^16.3.1",
"drizzle-orm": "^0.39.1",
"hono": "^4.5.8",
"nodemailer": "6.9.14",
"pg": "^8.14.1",
"pino": "9.4.0",
"pino-pretty": "11.2.2",
"postgres": "3.4.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"stripe": "17.2.0",
"zod": "^3.23.4"
},
"devDependencies": {
"@types/node": "^20.11.17",
"@types/nodemailer": "^6.4.16",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"drizzle-kit": "^0.30.4",
"tsx": "^4.7.1",
"typescript": "^5.4.2"
},
"packageManager": "pnpm@9.5.0"
}