title: understanding npm script (webpack-dev-server)
body: <p>I have a question about npm run.</p>
  
  <p>('npm run dev' is from <a href="https://github.com/vuejs/vue-hackernews/blob/gh-pages/package.json" rel="nofollow">https://github.com/vuejs/vue-hackernews/blob/gh-pages/package.json</a>)</p>
  
  <pre><code>{
    "name": "vue-hackernews",
    "version": "1.0.0",
    "description": "HN clone with Vue.js using HN API",
    "scripts": {
      "dev": "webpack-dev-server --inline --hot --no-info",
      "build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
       ....
    },
  </code></pre>
  
  <p>why does 'npm run dev' go well, </p>
  
  <p>but does other commands like 'npm run webpack-dev-server' </p>
  
  <p>or just 'webpack-dev-server' throw errors?</p>
  
  <p>what does 'npm run' do? not just executing the value of the property of "scripts"?</p>
  
  <p>( which I was thinking 'command exactly same thing')</p>
  
  <p>thank you!</p>