title: What Are "npm run dev" and "npm run prod"
body: <p>I use the following command to bundle my scripts via the Laravel Mix module:</p>
  <pre><code>npm run dev // Compile scripts.
  
  npm run prod // Compile and minify scripts.
  </code></pre>
  <p>Are these native npm commands or custom Laravel Mix commands? Where are they defined?</p>
  <p>I noticed they are listed as &quot;scripts&quot; in the Laravel package.json. What exactly are these scripts, custom commands for Webpack via Laravel Mix?</p>
  <pre><code>&quot;scripts&quot;: {
      &quot;dev&quot;: &quot;npm run development&quot;,
      &quot;development&quot;: &quot;cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js&quot;,
      &quot;watch&quot;: &quot;npm run development -- --watch&quot;,
      &quot;watch-poll&quot;: &quot;npm run watch -- --watch-poll&quot;,
      &quot;hot&quot;: &quot;cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --disable-host-check --config=node_modules/laravel-mix/setup/webpack.config.js&quot;,
      &quot;prod&quot;: &quot;npm run production&quot;,
      &quot;production&quot;: &quot;cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js&quot;
  },
  </code></pre>