This commit is contained in:
Fran Jurmanović
2022-03-10 18:53:49 +01:00
commit 6ef57924ea
22 changed files with 2084 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
export const ENVIRONMENTS = ["development", "testing", "production"];
export const ENVIRONMENT =
ENVIRONMENTS.filter((env) => process?.argv?.includes?.(`--${env}`))?.[0] || "development";

2
constants/index.ts Normal file
View File

@@ -0,0 +1,2 @@
export * from "./environments";
export * from "./version";

3
constants/version.ts Normal file
View File

@@ -0,0 +1,3 @@
import { version } from "../package.json";
export const APP_VERSION = version;