mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
f5f7146888
- Add Vercel serverless functions for user collections CRUD (collections.js, [id].js, items.js) - Add shared auth (Clerk JWT verification) and Neon DB client helpers - Add @clerk/backend dependency for token verification - Improve dashboard API proxy: handle double-compression, error handling, filter accept-encoding - Add retry logic to collections-api.ts for GET requests Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
725 B
JSON
25 lines
725 B
JSON
{
|
|
"type": "module",
|
|
"name": "claude-code-templates-api",
|
|
"version": "1.0.0",
|
|
"description": "API endpoints for claude-code-templates",
|
|
"scripts": {
|
|
"test": "jest --config jest.config.cjs",
|
|
"test:api": "jest __tests__/endpoints.test.js --config jest.config.cjs",
|
|
"test:watch": "jest --watch --config jest.config.cjs",
|
|
"test:coverage": "jest --coverage --config jest.config.cjs"
|
|
},
|
|
"dependencies": {
|
|
"@vercel/postgres": "^0.10.0",
|
|
"@supabase/supabase-js": "^2.45.0",
|
|
"@neondatabase/serverless": "^0.10.1",
|
|
"@clerk/backend": "^1.0.0",
|
|
"axios": "^1.6.2",
|
|
"discord-interactions": "^3.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^29.7.0",
|
|
"@types/jest": "^29.5.11"
|
|
}
|
|
}
|