Skip to content

Commit 569b69d

Browse files
committed
Refactor build command to fix NPM execution error
- Updated the build script to prevent a runtime error when invoked through NPM.
1 parent 2bd2878 commit 569b69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/publish-ci/react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.1",
44
"private": true,
55
"scripts": {
6-
"build": "cd android && chmod +x ./gradlew && ./gradlew bundleRelease --no-daemon && cd .. && react-native build-android",
6+
"build": "cd android && chmod +x gradlew && gradlew bundleRelease --no-daemon && cd .. && react-native build-android",
77
"android": "react-native run-android",
88
"ios": "react-native run-ios",
99
"lint": "eslint .",

0 commit comments

Comments
 (0)