[global-cli] Fix npm start

Before releasing new react-native-cli, need to look into
suppressing output from 'npm install', added in
5da0e135b6
This commit is contained in:
Martin Konicek 2016-01-04 23:36:38 +00:00
parent 7100df0062
commit d87d127402
1 changed files with 1 additions and 1 deletions

View File

@ -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));