title: Creating scripts for run project
body: <p>I can simple nodejs server.</p>
  <pre><code>import express from 'express';
  
  const app = express();
  
  app.get('/', (req, res) =&gt; {
     ...
  }
  
  const PORT = 3000;
  
  app.listen(PORT, () =&gt; {
      console.log(`Express app listening on port:${PORT}`);
  });
  </code></pre>
  <p>And my <code>package.json</code></p>
  <pre><code>{
    &quot;name&quot;: &quot;my-middleware&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;private&quot;: true,
    &quot;files&quot;: [
      &quot;bin/*&quot;
    ],
    &quot;main&quot;: &quot;./bin/scripts.js&quot;,
    &quot;bin&quot;: {
      &quot;scripts&quot;: &quot;./bin/scripts.js&quot;
    },
    &quot;scripts&quot;: {
      &quot;start&quot;: &quot;node ./bin/scripts.js start&quot;
    },
    &quot;dependencies&quot;: {
      &quot;commander&quot;: &quot;^8.1.0&quot;,
      &quot;express&quot;: &quot;~4.17.1&quot;,
    },
  }
  </code></pre>
  <p>I create script for run my project.</p>
  <pre><code>const { exec } = require('child_process');
  const { program } = require('commander');
  
  program.version('0.0.1');
  program
      .command('start')
      .description('Start project in development environment')
      .action(() =&gt; {
          console.log('Script starting...');
  
          exec('node ./src/server.js', (err, stdout, stderr) =&gt; console.log(stdout));
      });
  
  program.parse(process.argv);
  </code></pre>
  <p>After I want to show label</p>
  <pre><code>Express app listening on port:3000
  </code></pre>
  <p>How I can have on next process? I want to add other command before run project like this copy files and etc.</p>