From 46292ce81d6700fb0700fd9cd8fe19e3190b4cc1 Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Mon, 4 Jan 2016 23:36:38 +0000 Subject: [PATCH] [global-cli] Fix npm start Before releasing new react-native-cli, need to look into suppressing output from 'npm install', added in https://github.com/facebook/react-native/commit/5da0e135b6224a2ec9677da3494b8c1e90b06908 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index a3676c37..522ec26a 100755 --- a/index.js +++ b/index.js @@ -172,7 +172,7 @@ function createProject(name, verbose) { version: '0.0.1', private: true, scripts: { - start: 'react-native start' + start: 'node node_modules/react-native/local-cli/cli.js start' } }; fs.writeFileSync(path.join(root, 'package.json'), JSON.stringify(packageJson));