From 7be1484baffee95e34318e53ee70ab62f481081f Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Fri, 7 Jun 2024 13:31:31 +0000 Subject: [PATCH] build: `npm run start-beta` target When running `make run` or `npm run start`, developer has to manually specify HCC environment, e.g. `stage`, and UI environment, e.g., `beta`. This is "annoying" when the values are always the same, which atm are. Thus introducing a `make run start-beta` which defines these two params and thus it starts serving with single command. Signed-off-by: Petr Vobornik --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 021b81e..a959b65 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "lint:prettier": "prettier --check src", "patch:hosts": "fec patch-etc-hosts", "start": "HOT=true fec dev", + "start-beta": "HOT=true fec dev --clouddotEnv=stage --uiEnv=beta", "test": "TZ=UTC jest --verbose --no-cache", "test-watch": "TZ=UTC jest --watch", "postinstall": "ts-patch install && rimraf .cache",