diff --git a/.env.example b/.env.example
index 7fcf791..dd6c1ac 100644
--- a/.env.example
+++ b/.env.example
@@ -3,3 +3,6 @@ REACT_APP_API_URL=
REACT_APP_TMDB_API_URL=
REACT_APP_TMDB_API_KEY=
REACT_APP_TMDB_IMAGE_URL=
+
+REACT_APP_VERSION=$npm_package_version
+REACT_APP_NAME=$npm_package_name
diff --git a/src/components/EnvironmentLabel/index.tsx b/src/components/EnvironmentLabel/index.tsx
index 34c558d..7aa4fe0 100644
--- a/src/components/EnvironmentLabel/index.tsx
+++ b/src/components/EnvironmentLabel/index.tsx
@@ -7,7 +7,9 @@ const EnvironmentLabel: React.FC = () => {
return null;
}
- return Ambiente: Desenvolvimento;
+ const version = process.env.REACT_APP_VERSION;
+
+ return Versão: {version} | Ambiente: Desenvolvimento;
};
export default EnvironmentLabel;