Files
HexaHost-GameCloud/package.json
TheOnlyMace 27a3ec8244
Some checks failed
CI / Node — lint, typecheck, test, build (push) Failing after 9s
CI / Go — node-agent tests (push) Failing after 9s
CI / Go — edge-gateway build (push) Successful in 18s
Refactor database command scripts in package.json to source environment variables using bash, enhancing command execution for database operations.
2026-07-05 14:27:29 +02:00

26 lines
1021 B
JSON

{
"name": "hexahost-gamecloud",
"private": true,
"packageManager": "pnpm@9.15.0",
"engines": {
"node": ">=22"
},
"scripts": {
"dev": "turbo run dev",
"dev:infra": "docker compose -f deploy/compose/compose.dev.yml --env-file .env up -d postgres redis minio minio-init mailpit",
"build": "turbo run build",
"lint": "turbo run lint",
"typecheck": "turbo run typecheck",
"test": "turbo run test",
"db:generate": "pnpm --filter @hexahost/database db:generate",
"db:migrate": "bash -c 'set -a && source .env && set +a && pnpm --filter @hexahost/database db:migrate'",
"db:push": "bash -c 'set -a && source .env && set +a && pnpm --filter @hexahost/database db:push'",
"bootstrap:admin": "bash -c 'set -a && source .env && set +a && pnpm --filter @hexahost/database bootstrap:admin'",
"db:seed": "bash -c 'set -a && source .env && set +a && pnpm --filter @hexahost/database db:seed'"
},
"devDependencies": {
"turbo": "^2.3.3",
"typescript": "^5.7.2"
}
}