379d9aa13c
- Add payments, coupons, credits, invoices management to admin dashboard - Add 7 new admin tabs: Overview, Users, Orgs, Payments, Coupons, Credits, Invoices - Replace Resend with SMTP email via nodemailer (info@dk0.dev / mail.dk0.dev) - Add professional branded email templates (alerts, welcome, invoice, credit, password reset) - Add database migration for payments, coupons, coupon_redemptions, credit_transactions, invoices tables - Add credit_balance column to organizations - Add RLS policies for all new tables - Add 4 new API routes: /api/admin/{payments,coupons,credits,invoices} - Rename project from website-monitoring to CloudLense - Update all package.json names and README Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
34 lines
1.4 KiB
JSON
34 lines
1.4 KiB
JSON
{
|
|
"name": "cloudlense",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "CloudLense — Full-stack website monitoring & performance auditing platform",
|
|
"scripts": {
|
|
"setup": "bash dev-setup.sh",
|
|
"start": "cd frontend && supabase start && cd .. && concurrently -n db,backend,frontend -c blue,yellow,green \"echo Supabase ready\" \"npm run dev:backend\" \"npm run dev:frontend\"",
|
|
"stop": "cd frontend && supabase stop && echo '✅ All services stopped'",
|
|
"dev:backend": "cd backend && npm run dev",
|
|
"dev:frontend": "cd frontend && npm run dev",
|
|
"dev": "concurrently -n backend,frontend -c yellow,green \"npm run dev:backend\" \"npm run dev:frontend\"",
|
|
"build:backend": "cd backend && npm run build",
|
|
"build:frontend": "cd frontend && npm run build",
|
|
"build": "npm run build:backend && npm run build:frontend",
|
|
"test:backend": "cd backend && npm test",
|
|
"test:frontend": "cd frontend && npm test",
|
|
"test": "npm run test:backend && npm run test:frontend",
|
|
"lint:backend": "cd backend && npm run lint",
|
|
"lint:frontend": "cd frontend && npm run lint",
|
|
"lint": "npm run lint:backend && npm run lint:frontend",
|
|
"docker:up": "docker compose -f devops/docker-compose.yml up --build",
|
|
"docker:down": "docker compose -f devops/docker-compose.yml down",
|
|
"prepare": "husky"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^9.1.0",
|
|
"husky": "^9.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|