Files
pwap/mobile/package.json
T
pezkuwichain 48b51828fa fix: Resolve mobile app crash with import.meta and babel config
- Add guard for import.meta in endpoints.ts for React Native compatibility
- Add jsEngine: jsc to app.json to match gradle.properties
- Add @babel/plugin-transform-class-static-block for @pezkuwi/types-codec
2026-01-20 01:28:56 +03:00

137 lines
5.2 KiB
JSON

{
"name": "mobile",
"version": "1.0.0",
"type": "module",
"main": "index.ts",
"scripts": {
"postinstall": "node scripts/fix-pezkuwi-packages.cjs",
"start": "expo start",
"dev": "cp .env.development .env && expo start --clear",
"dev:tunnel": "cp .env.development .env && expo start --tunnel --clear",
"dev:android": "cp .env.development .env && expo run:android",
"dev:ios": "cp .env.development .env && expo run:ios",
"dev:web": "cp .env.development .env && expo start --web",
"prod": "cp .env.production .env && expo start --no-dev --minify",
"build:dev": "cp .env.development .env && eas build --profile development",
"build:preview": "cp .env.production .env && eas build --profile preview",
"build:prod": "cp .env.production .env && eas build --profile production",
"build:en": "EXPO_PUBLIC_DEFAULT_LANGUAGE=en eas build --platform android --profile production",
"build:tr": "EXPO_PUBLIC_DEFAULT_LANGUAGE=tr eas build --platform android --profile production",
"build:kmr": "EXPO_PUBLIC_DEFAULT_LANGUAGE=kmr eas build --platform android --profile production",
"build:ckb": "EXPO_PUBLIC_DEFAULT_LANGUAGE=ckb eas build --platform android --profile production",
"build:ar": "EXPO_PUBLIC_DEFAULT_LANGUAGE=ar eas build --platform android --profile production",
"build:fa": "EXPO_PUBLIC_DEFAULT_LANGUAGE=fa eas build --platform android --profile production",
"build:all": "npm run build:en && npm run build:tr && npm run build:kmr && npm run build:ckb && npm run build:ar && npm run build:fa",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"release": "standard-version",
"release:patch": "standard-version --release-as patch",
"release:minor": "standard-version --release-as minor",
"release:major": "standard-version --release-as major",
"release:dry-run": "standard-version --dry-run"
},
"dependencies": {
"@babel/runtime": "^7.28.4",
"@pezkuwi/api": "^16.5.11",
"@pezkuwi/keyring": "^14.0.11",
"@pezkuwi/types": "^16.5.11",
"@pezkuwi/util": "^14.0.11",
"@pezkuwi/util-crypto": "^14.0.11",
"@react-native-async-storage/async-storage": "^2.2.0",
"@react-native-picker/picker": "^2.11.4",
"@react-navigation/bottom-tabs": "^7.8.5",
"@react-navigation/native": "^7.1.20",
"@react-navigation/stack": "^7.6.4",
"@supabase/supabase-js": "^2.90.1",
"buffer": "^6.0.3",
"concat-map": "^0.0.2",
"expo": "~54.0.23",
"expo-camera": "~17.0.10",
"expo-image-picker": "~17.0.10",
"expo-linear-gradient": "^15.0.7",
"expo-local-authentication": "^17.0.7",
"expo-secure-store": "^15.0.7",
"expo-status-bar": "~3.0.8",
"i18next": "^25.6.2",
"invariant": "^2.2.4",
"metro-runtime": "^0.81.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-i18next": "^16.3.3",
"react-native": "0.81.5",
"react-native-gesture-handler": "~2.28.0",
"react-native-get-random-values": "~1.11.0",
"react-native-qrcode-svg": "^6.3.11",
"react-native-safe-area-context": "^5.6.2",
"react-native-screens": "~4.16.0",
"react-native-svg": "^15.15.1",
"react-native-url-polyfill": "^3.0.0",
"react-native-vector-icons": "^10.3.0",
"react-native-web": "^0.21.0",
"react-native-webview": "13.15.0",
"react-refresh": "^0.14.2",
"text-encoding": "^0.7.0"
},
"overrides": {
"react-test-renderer": "19.1.0",
"@pezkuwi/api-augment": "^16.5.11",
"@pezkuwi/api-base": "^16.5.11",
"@pezkuwi/api-derive": "^16.5.11",
"@pezkuwi/rpc-augment": "^16.5.11",
"@pezkuwi/rpc-core": "^16.5.11",
"@pezkuwi/rpc-provider": "^16.5.11",
"@pezkuwi/types": "^16.5.11",
"@pezkuwi/types-augment": "^16.5.11",
"@pezkuwi/types-codec": "^16.5.11",
"@pezkuwi/types-create": "^16.5.11",
"@pezkuwi/types-known": "^16.5.11",
"@pezkuwi/networks": "^16.5.9",
"@pezkuwi/keyring": "^14.0.11",
"@pezkuwi/util": "^14.0.11",
"@pezkuwi/util-crypto": "^14.0.11"
},
"devDependencies": {
"@babel/plugin-transform-class-static-block": "^7.28.6",
"@expo/ngrok": "^4.1.0",
"@pezkuwi/extension-dapp": "^0.62.20",
"@pezkuwi/extension-inject": "^0.62.20",
"@react-native-community/cli": "^20.1.0",
"@react-native/metro-config": "^0.83.1",
"@testing-library/jest-native": "^5.4.3",
"@testing-library/react-native": "^13.3.3",
"@types/invariant": "^2",
"@types/jest": "^29.5.12",
"@types/react": "~19.1.10",
"@types/text-encoding": "^0",
"@typescript-eslint/eslint-plugin": "^8.47.0",
"@typescript-eslint/parser": "^8.47.0",
"babel-preset-expo": "~54.0.9",
"eslint": "^9.39.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-native": "^5.0.0",
"globals": "^16.5.0",
"jest": "^29.7.0",
"jest-expo": "^54.0.16",
"react-native": "^0.83.1",
"react-test-renderer": "19.1.0",
"standard-version": "^9.5.0",
"typescript": "~5.9.2",
"typescript-eslint": "^8.47.0"
},
"private": true,
"expo": {
"install": {
"exclude": [
"@types/react"
]
}
}
}