Running NPM scripts sequentially
<p>Let's say I have </p>

<pre><code>"scripts": {
    "pre-build": "echo \"Welcome\" &amp;&amp; exit 1",
    "build_logic": "start cmd.exe @cmd /k \"yo esri-appbuilder-js:widget &amp;&amp; exit 1\"",
    "post_build":  "start C:\\WebAppBuilderForArcGIS\\startupShortcut",
    "exit" : "start cmd.exe @cmd /k \"echo \"goodbye\" &amp;&amp; exit 1\""
  },
</code></pre>

<p>What NPM command can I run to let all of these scripts launch sequentially. When I use pre/post fixing they launch sequentially but they don't wait for the parent script to finish before executing. I am assuming the only solution is like: <a href="https://stackoverflow.com/q/25371192/3174123">How do I get Gulp tasks to fire sequentially when firing shell commands in an async.series helper function?</a> ? I know this can be done with Gulp but I would like to stick with NPM for now to explore its capabilities. Thanks for any help!</p>