Skip to content

Commit

Permalink
Refactor build command to fix NPM execution error
Browse files Browse the repository at this point in the history
- Updated the build script to prevent a runtime error when invoked through NPM.
  • Loading branch information
aryaemami59 committed Jan 13, 2024
1 parent 2bd2878 commit 569b69d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/publish-ci/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.1",
"private": true,
"scripts": {
"build": "cd android && chmod +x ./gradlew && ./gradlew bundleRelease --no-daemon && cd .. && react-native build-android",
"build": "cd android && chmod +x gradlew && gradlew bundleRelease --no-daemon && cd .. && react-native build-android",
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
Expand Down

0 comments on commit 569b69d

Please sign in to comment.