title: Calling one script from another with Yarn
body: <p>Below is an example how to run a script from another with <code>npm</code> in <code>package.json</code>. </p>
  
  <p>What's the equivalent with <code>yarn</code>?</p>
  
  <pre><code>{
    "name": "npm-scripts-example",
    "version": "1.0.0",
    "description": "npm scripts example",
    "scripts": {
      "clean": "rimraf ./dist &amp;&amp; mkdir dist",
      "prebuild": "npm run clean",
  
    }
  }
  </code></pre>