fix node not loading correct env files

This commit is contained in:
heyethereum
2024-08-03 10:29:35 +08:00
parent 28f6ab3553
commit 1fdfd94baf
30 changed files with 180 additions and 155 deletions

View File

@@ -1,14 +1,15 @@
{
"name": "safeqr",
"version": "1.0.0",
"main": "expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android:dev": "ENVFILE=.env.development expo run:android",
"android:prod": "ENVFILE=.env.production expo run:android",
"ios:dev": "ENVFILE=.env.development expo run:ios",
"ios:prod": "ENVFILE=.env.production expo run:ios",
"web": "expo start --web"
"start": "expo start --dev-client",
"android:dev": "NODE_ENV=development ENVFILE=.env.development expo run:android",
"android:prod": "NODE_ENV=production ENVFILE=.env.production expo run:android",
"ios:dev": "NODE_ENV=development ENVFILE=.env.development expo run:ios",
"ios:prod": "NODE_ENV=production ENVFILE=.env.production expo run:ios",
"web": "expo start --web",
"android": "expo run:android",
"ios": "expo run:ios"
},
"dependencies": {
"@aws-amplify/auth": "^6.3.10",
@@ -26,24 +27,24 @@
"aws-amplify": "^6.4.2",
"axios": "^1.7.2",
"dotenv": "^16.4.5",
"expo": "~51.0.17",
"expo-camera": "~15.0.13",
"expo": "~51.0.24",
"expo-camera": "~15.0.14",
"expo-dev-client": "~4.0.19",
"expo-image-manipulator": "^12.0.5",
"expo-image-picker": "~15.0.7",
"expo-sharing": "~12.0.1",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "^0.74.3",
"react-native": "0.74.3",
"react-native-dotenv": "^3.4.11",
"react-native-gesture-handler": "^2.17.1",
"react-native-gesture-handler": "~2.16.1",
"react-native-get-random-values": "^1.11.0",
"react-native-qrcode-svg": "^6.3.1",
"react-native-reanimated": "^3.14.0",
"react-native-safe-area-context": "^4.10.4",
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "^4.10.5",
"react-native-screens": "3.31.1",
"react-native-svg": "15.2.0",
"react-native-webview": "^13.10.4",
"react-native-webview": "^13.8.6",
"react-redux": "^9.1.2",
"redux": "^5.0.1"
},