mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
Use full path to packager for generated project
This way people without react-native-cli can still do `npm start`
This commit is contained in:
parent
b917bb826c
commit
d6c9648aea
2
react-native-cli/index.js
vendored
2
react-native-cli/index.js
vendored
@ -70,7 +70,7 @@ function init(name) {
|
||||
version: '0.0.1',
|
||||
private: true,
|
||||
scripts: {
|
||||
start: "react-native start"
|
||||
start: "node_modules/react-native/packager/packager.sh"
|
||||
}
|
||||
};
|
||||
fs.writeFileSync(path.join(root, 'package.json'), JSON.stringify(packageJson));
|
||||
|
Loading…
x
Reference in New Issue
Block a user