Skip to content

Commit d87d127

Browse files
author
Martin Konicek
committed
[global-cli] Fix npm start
Before releasing new react-native-cli, need to look into suppressing output from 'npm install', added in facebook@5da0e13
1 parent 7100df0 commit d87d127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-native-cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function createProject(name, verbose) {
172172
version: '0.0.1',
173173
private: true,
174174
scripts: {
175-
start: 'react-native start'
175+
start: 'node node_modules/react-native/local-cli/cli.js start'
176176
}
177177
};
178178
fs.writeFileSync(path.join(root, 'package.json'), JSON.stringify(packageJson));

0 commit comments

Comments
 (0)