Create a .env
file like this:
PUBSUB_ROOT_DIR=./examples/typescript
GOOGLE_CLOUD_PROJECT=<your-project-id>
GOOGLE_APPLICATION_CREDENTIALS=./creds/<your-project-id-credentials-file>.json
And you'll be able to use these yarn commands directly:
yarn list
yarn start