mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Don’t report failure to npm-start with arg support
Summary: This supports passing args to `npm start` as referenced in [this comment][comment] while still returning 0 on failure from an npm perspective. This builds off the npm change in [this commit][commit] and discussed in this [PR]. [comment]: https://github.com/facebook/react-native/pull/2415#issuecomment-141309448 [commit]: https://github.com/facebook/react-native/commit/75df3b537ae071b0b4d1b01ae75d66ec5457bb1e [PR]: https://github.com/facebook/react-native/pull/2415 Closes https://github.com/facebook/react-native/pull/3002 Reviewed By: svcscm Differential Revision: D2647258 Pulled By: spicyj fb-gh-sync-id: 2385254d23a37a99a53f53308e4688bc1fc3124e
This commit is contained in:
committed by
facebook-github-bot-9
parent
2681200ed6
commit
eae91cc680
+1
-1
@@ -47,7 +47,7 @@
|
||||
"scripts": {
|
||||
"test": "NODE_ENV=test jest",
|
||||
"lint": "eslint Examples/ Libraries/",
|
||||
"start": "./packager/packager.sh || true"
|
||||
"start": "/usr/bin/env bash -c './packager/packager.sh \"$@\" || true' --"
|
||||
},
|
||||
"bin": {
|
||||
"react-native": "local-cli/wrong-react-native.js"
|
||||
|
||||
Reference in New Issue
Block a user