{
  "procs": {
    "web": {
      "shell": "HOLI_API_URL=http://localhost:4455/graphql yarn web:dev",
      "cwd": "<CONFIG_DIR>/holi-frontends"
    },
    "mobile": {
      "shell": "HOLI_API_URL=http://localhost:4455/graphql yarn mobile:dev",
      "cwd": "<CONFIG_DIR>/holi-frontends"
    },
    "continuous-tests": {
      "shell": "while true; do sleep 1; done # needs work, we don't have unit test yet cd holi-frontends; jest -w",
      "env": {
        "NODE_ENV": "test"
      }
    },
    "oathkeeper": {
      "shell": "docker run --rm --name ory-oathkeeper-unified-api -p 4455:4455 -p 4456:4456 --env-file=.env.local --mount type=bind,source=$PWD,target=/opt/oathkeeper/ --add-host=host.docker.internal:host-gateway --network=host oryd/oathkeeper --config /opt/oathkeeper/config.yaml serve",
      "cwd": "<CONFIG_DIR>/holi-unified-api/oathkeeper"
    },
    "unified-api": {
      "comment": "we wait for Django (port 8000), otherwise starting GraphQL mesh will fail",
      "shell": "../wait-for-port.sh 8000; yarn dev",
      "cwd": "<CONFIG_DIR>/holi-unified-api"
    },
    "okuna-services": {
      "shell": "source .venv/bin/activate && python okuna-cli.py up-services-only",
      "cwd": "<CONFIG_DIR>/holi-okuna"
    },
    "okuna-server": {
      "comment": "we wait for postgres (port 5432), otherwise starting Django will fail",
      "shell": "../wait-for-port.sh 5432; source .venv/bin/activate && python manage.py runserver localhost:8000 || echo 'maybe you need to execute \"python manage.py migrate\" again?'",
      "cwd": "<CONFIG_DIR>/holi-okuna"
    }
  }
}