|
3 | 3 | "version": "0.0.1", |
4 | 4 | "private": true, |
5 | 5 | "scripts": { |
| 6 | + "android": "react-native run-android", |
6 | 7 | "pod:install:ios": "pod install --project-directory=ios", |
7 | 8 | "pod:install:catalyst": "pod install --project-directory=ios && node ios/enable-catalyst.js", |
8 | 9 | "pod:install:macos": "pod install --project-directory=macos", |
9 | | - "build:android": "rnc-cli build-android", |
10 | | - "build:ios": "rnc-cli build-ios", |
| 10 | + "build:android": "npm run mkdist && react-native bundle --entry-file index.js --platform android --dev true --bundle-output dist/main.android.jsbundle --assets-dest dist/res && cd android && ./gradlew assembleDebug --warning-mode all", |
| 11 | + "build:ios": "npm run mkdist && react-native bundle --entry-file index.js --platform ios --dev true --bundle-output dist/main.ios.jsbundle --assets-dest dist", |
11 | 12 | "build:macos": "react-native build-macos --scheme ReactTestApp --mode Debug", |
12 | | - "ios": "rnc-cli run-ios", |
13 | | - "android": "rnc-cli run-android", |
| 13 | + "ios": "react-native run-ios", |
14 | 14 | "lint": "eslint . --ext .ts,.tsx --max-warnings 0 --cache --fix", |
15 | 15 | "mkdist": "node -e \"require('node:fs').mkdirSync('dist', { recursive: true, mode: 0o755 })\"", |
16 | 16 | "pod:install": "cd ios && pod install", |
17 | 17 | "test": "jest", |
18 | 18 | "tsc": "tsc --noEmit", |
19 | | - "start": "rnc-cli start" |
| 19 | + "start": "react-native start" |
20 | 20 | }, |
21 | 21 | "dependencies": { |
22 | 22 | "@callstack/react-native-visionos": "^0.75.0", |
|
0 commit comments