title: How to use yarn to create a React app project?
body: <p>I am trying to create a new React project using <em>yarn</em> command on Windows.
  I have tried the commands
  <code>yarn init</code> and <code>yarn add react react-dom</code>. But it is only adding a few of the node modules to the project I created. And package.json contains only this many dependencies</p>
  <pre><code>{
    &quot;name&quot;: &quot;sample&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;license&quot;: &quot;MIT&quot;,
    &quot;dependencies&quot;: {
      &quot;react&quot;: &quot;^16.4.2&quot;,
      &quot;react-dom&quot;: &quot;^16.4.2&quot;
    }
  }
  </code></pre>
  <p>How can I add all the other dependencies and node modules before starting the project?</p>