Skip to content

Commit 97c39ba

Browse files
Sean PrashadSean Prashad
authored andcommitted
Add dotenv dependency for environment variables
1 parent dfc202c commit 97c39ba

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

web/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
REACT_APP_ANALYTICS=VALUE

web/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
# misc
1515
.DS_Store
16+
.env
1617
.env.local
1718
.env.development.local
1819
.env.test.local

web/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@
99
"@testing-library/user-event": "^7.1.2",
1010
"bootstrap": "^4.4.1",
1111
"classnames": "^2.2.6",
12+
"dotenv": "^8.2.0",
1213
"enzyme": "^3.11.0",
1314
"enzyme-adapter-react-16": "^1.15.2",
1415
"gh-pages": "^2.2.0",
1516
"node-sass": "^4.13.0",
1617
"react": "^16.12.0",
1718
"react-dom": "^16.12.0",
19+
"react-ga": "^2.7.0",
1820
"react-icons": "^3.8.0",
1921
"react-markdown": "^4.3.1",
2022
"react-scripts": "3.3.0",

web/yarn.lock

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3745,7 +3745,7 @@ dotenv-expand@5.1.0:
37453745
resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0"
37463746
integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==
37473747

3748-
dotenv@8.2.0:
3748+
dotenv@8.2.0, dotenv@^8.2.0:
37493749
version "8.2.0"
37503750
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a"
37513751
integrity sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==
@@ -9420,6 +9420,11 @@ react-error-overlay@^6.0.4:
94209420
resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-6.0.4.tgz#0d165d6d27488e660bc08e57bdabaad741366f7a"
94219421
integrity sha512-ueZzLmHltszTshDMwyfELDq8zOA803wQ1ZuzCccXa1m57k1PxSHfflPD5W9YIiTXLs0JTLzoj6o1LuM5N6zzNA==
94229422

9423+
react-ga@^2.7.0:
9424+
version "2.7.0"
9425+
resolved "https://registry.yarnpkg.com/react-ga/-/react-ga-2.7.0.tgz#24328f157f31e8cffbf4de74a3396536679d8d7c"
9426+
integrity sha512-AjC7UOZMvygrWTc2hKxTDvlMXEtbmA0IgJjmkhgmQQ3RkXrWR11xEagLGFGaNyaPnmg24oaIiaNPnEoftUhfXA==
9427+
94239428
react-icons@^3.8.0:
94249429
version "3.8.0"
94259430
resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-3.8.0.tgz#229de5904809696c9f46932bd9b6126b2522866e"

0 commit comments

Comments
 (0)