How to clean (delete contents) folder with npm
<p>I am trying to deploy a web project but before <code>build</code> it, I need to clear/delete the <code>dist</code> folder.</p>
<p>I could add a script that would run <code>rm -rf dist/*</code> but that would not work on Windows system.</p>
<p>Is there some npm package u other solution that allows deleting a folder with a command that works in every OS?</p>