Can I hide or silence "npm ERR!" output when using npm run script?
<p>I'm using <a href="https://docs.npmjs.com/cli/run-script" rel="noreferrer">npm run script</a> to do tasks such as "build" and "test".</p>

<p>For example, my <code>package.json</code> looks like the following:</p>

<pre><code>{
  "name": "fulfillment-service",
  "version": "1.0.0",
  "description": "Endpoint for CRUD operations on fulfillment status",
  "main": "src/server.js",
  "scripts": {
    "build": "tsc",
    "test": "tape tests/*.js"
  },
  "dependencies": {},
  "devDependencies": {
    "typescript": "^1.8.10"
  }
}
</code></pre>

<p>When I run <code>npm run build</code> and it is successful, the output is the following:</p>

<pre><code>&gt; fulfillment-service@1.0.0 build d:\code\fulfillment-service
&gt; tsc
</code></pre>

<p>When I run <code>npm run build</code> and it fails, the output is the following:</p>

<pre><code>&gt; fulfillment-service@1.0.0 build d:\code\fulfillment-service
&gt; tsc
src/server.ts(51,81): error TS2339: Property 'connection' does not exist on type 'IncomingMessage'.
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
npm ERR! node v6.2.1
npm ERR! npm  v3.9.3
npm ERR! code ELIFECYCLE
npm ERR! fulfillment-service@1.0.0 build: `tsc`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the fulfillment-service@1.0.0 build script 'tsc'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the fulfillment-service package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tsc
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs fulfillment-service
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls fulfillment-service
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     d:\code\fulfillment-service\npm-debug.log
</code></pre>

<p>This fills the entire console with useless information, and I have to scroll to the top to see why it failed.</p>

<p>Is there anyway to hide/silence the lines that start with <code>npm ERR!</code> during development?</p>