0
14
KKKhalid Khan
This code creates a new React Native project called "MyReactNativeApp". The project is private and the scripts section includes a start command that will automatically start the project when executed.
Go to the root directory for your project and create a new package.json file with the following contents:
Shortcut: reactnative.package
{
"name": "MyReactNativeApp",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "yarn react-native start"
}
}