title: Apply visual styling to echo commands used in npm scripts via package.json
body: <p>Have recently put together a build tool with <code>npm</code> and <code>package.json</code> scripts, and I have a few <code>echo</code> commands to state which parts of the pipeline are currently running.</p>
  
  <p>For example (from my <code>package.json</code>):</p>
  
  <pre class="lang-json prettyprint-override"><code>{
      "scripts": {
          "clean": "rimraf a-directory/",
          "preclean": "echo \"\n[ Cleaning build directories ]\n\""
      }
  }
  </code></pre>
  
  <p>When I Bash: <code>npm run clean</code> it prints my <code>echo</code> message, and then cleans the appropriate directory.</p>
  
  <p>I'd like to change colour, font weight, background text colour to make these <code>echo</code> statements stand out and be more informative at a glance, but I've struggled even finding a starting point that can set me off being able to do this.</p>
  
  <p>There's lots of info about doing this in regular CLI/Bash scripts, via <code>grunt</code> and <code>gulp</code>, or via JS scripts, but nothing I've found is attempting it from the scripts section of <code>package.json</code>.</p>
  
  <p>What am I missing? All help appreciated.</p>
  
  <p>Many thanks.</p>