Don't report failures to npm

Summary:
This suppresses this output from npm:

```
npm ERR! Failed at the react-native@0.9.0 start script './packager/packager.sh'.
npm ERR! This is most likely a problem with the react-native package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./packager/packager.sh
npm ERR! You can get their info via:
npm ERR!     npm owner ls react-native
```

We don't seem to have any automated scripts that rely on the exit code of npm start (or even call it at all).
Closes https://github.com/facebook/react-native/pull/2415
Github Author: Ben Alpert <balpert@fb.com>
This commit is contained in:
Ben Alpert 2015-08-24 19:39:22 -07:00
parent 9ba4697f02
commit 75df3b537a
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
"scripts": {
"test": "jest",
"lint": "node linter.js Examples/ Libraries/",
"start": "./packager/packager.sh"
"start": "./packager/packager.sh || true"
},
"bin": {
"react-native-start": "packager/packager.sh"