Files
davila7__claude-code-templates/package.json
Dani d1f561f914 feat: Migrate API endpoints to Astro dashboard, unify under single Vercel project
- Migrate all API endpoints from api/ (Vercel serverless) to dashboard/src/pages/api/ (Astro routes)
  - track-download-supabase, track-command-usage, track-installation-outcome, track-website-events
  - collections (index, [id], items)
  - health-check, claude-code-check, discord/interactions
- Add shared API libs: cors.ts, neon.ts, auth.ts, changelog-parser.ts
- Add @supabase/supabase-js, @neondatabase/serverless, discord-interactions, @clerk/backend deps
- Remove catch-all API proxy ([...path].ts) - APIs are now native Astro routes
- Serve components.json and trending-data.json from dashboard/public/
- Switch to same-origin fetching (relative URLs) for data files
- Add dashboard/vercel.json with crons and CORS headers
- Simplify CI/CD to single deploy target (dashboard project)
- Update deploy script and package.json scripts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 20:59:52 -05:00

53 lines
1.4 KiB
JSON

{
"name": "claude-code-templates",
"version": "1.28.16",
"description": "Component templates and tracking system for Claude Code",
"main": "cli-tool/src/index.js",
"bin": {
"claude-code-templates": "cli-tool/bin/create-claude-config.js",
"cct": "cli-tool/bin/create-claude-config.js"
},
"scripts": {
"dev": "vercel dev",
"build": "echo 'Build complete'",
"start": "vercel dev",
"test": "echo 'No tests specified'",
"agent:security-auditor": "security-auditor 'Security audit covering codebase, dependencies, and deployment configuration'",
"deploy": "./scripts/deploy.sh",
"deploy:dashboard": "./scripts/deploy.sh",
"discord:register": "node api/discord/register-commands.cjs"
},
"dependencies": {
"@supabase/supabase-js": "^2.39.0",
"@vercel/postgres": "^0.10.0",
"axios": "^1.6.2",
"boxen": "^5.1.2",
"chalk": "^4.1.2",
"chokidar": "^3.5.3",
"commander": "^11.1.0",
"discord-interactions": "^3.4.0",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"fs-extra": "^11.1.1",
"inquirer": "^8.2.6",
"js-yaml": "^4.1.1",
"open": "^8.4.2",
"ora": "^5.4.1",
"qrcode": "^1.5.4",
"uuid": "^11.1.0",
"ws": "^8.18.3"
},
"devDependencies": {
"@vercel/node": "^3.0.0"
},
"keywords": [
"claude-code",
"templates",
"components",
"tracking",
"analytics"
],
"author": "Claude Code Templates",
"license": "MIT"
}