Skip to content

Commit f68b8af

Browse files
authored
chore(🐙): update build and start scripts in package.json (#3525)
1 parent a8ff637 commit f68b8af

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apps/example/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
"version": "0.0.1",
44
"private": true,
55
"scripts": {
6+
"android": "react-native run-android",
67
"pod:install:ios": "pod install --project-directory=ios",
78
"pod:install:catalyst": "pod install --project-directory=ios && node ios/enable-catalyst.js",
89
"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",
1112
"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",
1414
"lint": "eslint . --ext .ts,.tsx --max-warnings 0 --cache --fix",
1515
"mkdist": "node -e \"require('node:fs').mkdirSync('dist', { recursive: true, mode: 0o755 })\"",
1616
"pod:install": "cd ios && pod install",
1717
"test": "jest",
1818
"tsc": "tsc --noEmit",
19-
"start": "rnc-cli start"
19+
"start": "react-native start"
2020
},
2121
"dependencies": {
2222
"@callstack/react-native-visionos": "^0.75.0",

0 commit comments

Comments
 (0)