Skip to content

Commit

Permalink
[global-cli] Fix npm start
Browse files Browse the repository at this point in the history
Before releasing new react-native-cli, need to look into
suppressing output from 'npm install', added in
facebook@5da0e13
  • Loading branch information
Martin Konicek committed Jan 4, 2016
1 parent 7100df0 commit d87d127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-native-cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit d87d127

Please sign in to comment.