Files
archived-gitea-ai-assistant/package.json
jeffusion 3cb53db8f0 chore: add concurrent dev script for backend and frontend
- Add concurrently package for parallel process execution
- Split dev script into dev:backend and dev:frontend
- Use concurrently to run both with colored, labeled output

This enables single-command development with 'bun run dev' that starts
both the backend server (with hot reload) and frontend dev server.
2026-03-03 16:33:18 +08:00

52 lines
1.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "gitea-assistant",
"version": "1.0.0",
"description": "Gitea功能增强助手包含AI代码审核功能",
"engines": {
"bun": ">=1.2.5"
},
"dependencies": {
"@hono/zod-validator": "^0.4.3",
"@qdrant/js-client-rest": "^1.16.2",
"axios": "^1.8.3",
"dotenv": "^16.4.7",
"hono": "^4.11.9",
"lodash-es": "^4.17.21",
"openai": "^4.87.3",
"zod": "^3.25.1",
"zod-to-json-schema": "^3.25.1"
},
"devDependencies": {
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.13.10",
"concurrently": "^9.2.1",
"tslint": "^6.1.3",
"typescript": "^5.8.2"
},
"files": [
"./dist/*"
],
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"scripts": {
"dev": "concurrently -k -p [{name}] -n backend,frontend -c blue,green \"bun run dev:backend\" \"bun run dev:frontend\"",
"dev:backend": "bun run --watch src/index.ts",
"dev:frontend": "cd frontend && bun run dev",
"build": "rm -rf dist && tsc",
"start": "bun run src/index.ts",
"start:prod": "bun run dist/index.js",
"lint": "tslint -c tslint.json src/**/*.ts",
"test": "bun test"
},
"keywords": [
"code-review",
"gitea",
"ai",
"bun",
"typescript"
],
"author": "",
"license": "MIT",
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
}