This commit is contained in:
2025-11-27 18:22:26 +08:00
commit 90eb1970e1
12 changed files with 767 additions and 0 deletions

27
package.json Normal file
View File

@@ -0,0 +1,27 @@
{
"name": "saas-admin-api",
"version": "1.0.0",
"description": "SaaS 平台数据查询 API供 Dify Agent 调用,支持自然语言转结构化查询",
"main": "src/index.ts",
"scripts": {
"dev": "bun run --watch src/index.ts",
"start": "bun run src/index.ts",
"build": "echo \"Bun runs TypeScript directly — no build needed.\"",
"test": "echo \"Add tests with @types/bun or Jest later\""
},
"dependencies": {
"elysia": "^1.0.0",
"mysql2": "^3.10.0",
"dotenv": "^16.4.5"
},
"devDependencies": {
"@types/node": "^20.14.0",
"bun-types": "^1.1.0"
},
"engines": {
"bun": ">=1.0.0"
},
"keywords": ["bun", "elysia", "mysql", "saas", "dify", "natural-language-query"],
"author": "Your Name",
"license": "MIT"
}