From 75df3b537ae071b0b4d1b01ae75d66ec5457bb1e Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Mon, 24 Aug 2015 19:39:22 -0700 Subject: [PATCH] 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 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4d55e28fd..0cd24e7f7 100644 --- a/package.json +++ b/package.json @@ -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"