e a <code>.babelrc</code> file:</p>
<pre><code class="lang-json">{
    &quot;presets&quot;: [&quot;es2015&quot;],
    &quot;plugins&quot;: [
        [&quot;transform-react-jsx&quot;, {
            &quot;pragma&quot;: &quot;m&quot;
        }]
    ]
}
</code></pre>
<p>To run Babel as a standalone tool, run this from the command line:</p>
<pre><code class="lang-bash">babel src --out-dir bin --source-maps
</code></pre>
<h4 id="using-babel-with-webpack"><a href="#using-babel-with-webpack">Using Babel with Webpac