28 lines
1.1 KiB
JSON
28 lines
1.1 KiB
JSON
{
|
|
"name": "gochat",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "GoChat — open-source enterprise customer communication platform (Go backend + Chatwoot-derived Vue frontend)",
|
|
"scripts": {
|
|
"dev:backend": "cd backend && air -c .air.toml",
|
|
"dev:frontend": "cd frontend && pnpm dev",
|
|
"dev": "concurrently -n backend,frontend -c blue,green \"pnpm dev:backend\" \"pnpm dev:frontend\"",
|
|
"build:frontend": "cd frontend && pnpm build",
|
|
"build:sdk": "cd frontend && pnpm build:sdk",
|
|
"lint:frontend": "cd frontend && pnpm eslint",
|
|
"test:frontend": "cd frontend && pnpm test",
|
|
"dev:shangwutong": "cd channels/shangwutong && go run ./cmd/shangwutong serve",
|
|
"test:shangwutong": "cd channels/shangwutong && go test ./...",
|
|
"build:shangwutong": "cd channels/shangwutong && go build -o bin/shangwutong ./cmd/shangwutong",
|
|
"dev:all": "concurrently -n backend,frontend,shangwutong -c blue,green,magenta \"pnpm dev:backend\" \"pnpm dev:frontend\" \"pnpm dev:shangwutong\""
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^9.1.0"
|
|
},
|
|
"packageManager": "pnpm@10.2.0",
|
|
"engines": {
|
|
"node": ">=20",
|
|
"pnpm": ">=10"
|
|
}
|
|
}
|