Files
openproxy/dashboard/package.json
Praveen Thirumurugan 18d4c93216 feat: update configuration for OpenAI and Anthropic endpoints
- Created a new .env.example file with default environment variables for PORT, OPENAI_UPSTREAM_URL, ANTHROPIC_UPSTREAM_URL, and DATABASE_URL.
- Updated .npmignore to exclude all .env files except .env.example.
- Revised CONTRIBUTING.md to simplify the contribution process and provide clearer setup instructions.
- Enhanced cost.ts with detailed type definitions and improved cost calculation logic.
- Updated proxy.ts to include new environment variables and improved logging functionality.
- Modified README.md to reflect new configuration instructions and usage examples.
- Removed unnecessary dashboard files and streamlined the project structure.
2025-12-23 12:37:40 +05:30

28 lines
638 B
JSON

{
"name": "openproxy-dashboard",
"version": "1.0.0",
"description": "Lightweight Next.js dashboard for OpenProxy metrics",
"private": true,
"scripts": {
"dev": "next dev -p 3008",
"build": "next build",
"start": "next start -p 3008",
"lint": "next lint"
},
"dependencies": {
"dotenv": "^17.2.3",
"next": "^14.2.35",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"pg": "^8.16.3",
"recharts": "^2.12.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@types/pg": "^8.11.0",
"typescript": "^5.9.0"
}
}