Files
gochat/package.json
T
Rogeeandrogee a5d244d293 HH-500: add reproducible production dist bundle (#111)
* HH-500: add reproducible production dist bundle

* HH-500: make production bundle builds reproducible

* HH-500: lock complete runtime APK closure

---------

Co-authored-by: Rogee <rogee@ipao.vip>
2026-08-23 00:22:20 +08:00

41 lines
1.9 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:shangwutong": "cd channels/shangwutong && mkdir -p tmp && SWT_CONNECTOR_DB_PATH=${SWT_CONNECTOR_DB_PATH:-$PWD/tmp/connector.db} GOCHAT_BASE_URL=${GOCHAT_BASE_URL:-http://127.0.0.1:3000} GOCHAT_CONNECTOR_SERVICE_TOKEN=${GOCHAT_CONNECTOR_SERVICE_TOKEN:-dev-connector-token} go run ./cmd/shangwutong serve",
"dev": "concurrently -n backend,frontend -c blue,green \"pnpm dev:backend\" \"pnpm dev:frontend\"",
"build:frontend": "cd frontend && pnpm build",
"verify:frontend:delivery": "pnpm install --frozen-lockfile && pnpm --dir frontend test:build && pnpm audit --prod --audit-level high",
"build:sdk": "cd frontend && pnpm build:sdk",
"build:production": "bash scripts/build-production.sh",
"test:production-build": "bash scripts/build-production.test.sh",
"lint:frontend": "cd frontend && pnpm eslint",
"test:frontend": "cd frontend && pnpm test",
"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"
},
"pnpm": {
"overrides": {
"vite-node": "3.0.5",
"vite": "6.4.3",
"vitest": "3.0.5",
"minimatch@<4": "3.1.5",
"minimatch@>=9.0.0 <9.0.7": "9.0.9",
"rollup": ">=4.59.0"
}
}
}