Skip to content

Commit

Permalink
🔧[chore]: 환경변수 라이브러리 설치
Browse files Browse the repository at this point in the history
  • Loading branch information
nyewon committed Nov 22, 2024
1 parent 4672dd7 commit a3ededf
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ yarn-error.*
*.pem

# local env files
.env
.env*.local

# typescript
Expand Down
13 changes: 13 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,18 @@ module.exports = function (api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
[
'module:react-native-dotenv',
{
moduleName: '@env',
path: '.env',
blacklist: null,
whitelist: null,
safe: false,
allowUndefined: true,
},
],
],
};
};
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@
"@react-navigation/native": "^7.0.3",
"@react-navigation/native-stack": "^7.0.3",
"expo": "~52.0.7",
"expo-file-system": "~18.0.3",
"expo-image-picker": "~16.0.2",
"expo-status-bar": "~2.0.0",
"react": "18.3.1",
"react-native": "0.76.2",
"react-native-dotenv": "^3.4.11",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "~4.1.0",
"react-native-svg": "15.8.0",
"expo-image-picker": "~16.0.2",
"expo-file-system": "~18.0.3"
"react-native-svg": "15.8.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
Expand Down

0 comments on commit a3ededf

Please sign in to comment.