ge.json</code> and add a new npm script:</p>
<pre><code>{
    &quot;name&quot;: &quot;my-project&quot;,
    &quot;scripts&quot;: {
        &quot;start&quot;: &quot;webpack src/index.js bin/app.js -d --watch&quot;,
        &quot;build&quot;: &quot;webpack src/index.js bin/app.js -p&quot;,
    }
}
</code></pre><p>You can use hooks in your production environment to run the production build script automatically. Here&#39;s an example for <a href="https://www.heroku.com/">Heroku</a>:</p>
<pre><code>{
    &quot;n