title: npm err missing script webpack-dev-server
body: <p>I'm making a Reactjs app with wepback and i can't figure out why npm run webpack-dev-server is not working.</p>
  
  <p>I installed the package and even installed it globally. every time i'm getting the same error as mentioned.</p>
  
  <p>my webpack.config.js:</p>
  
  <pre><code>var webpack = require('webpack');
  var path = require('path');
  var dev = require('webpack-dev-server');
  
  
  var BUILD_DIR = path.resolve(__dirname, 'src/client/public');
  var APP_DIR = path.resolve(__dirname, 'src/client/app');
  
  var config = {
    entry: APP_DIR + '/index.js',
    output: {
      path: BUILD_DIR,
      filename: 'bundle.js'
    },
      devServer: {
      inline:true,
      port: 8008
    },
      module : {
          loaders : [
              {
                  test : /\.jsx?/,
                  include : APP_DIR,
                  loader : 'babel-loader'
              },
              {
                  test: /\.css$/,
                  loader: 'style-loader!css-loader'
              }
          ]
      }
  };
  
  module.exports = config;
  </code></pre>
  
  <p>and my package.json:</p>
  
  <pre><code>{
    "name": "redditgallery",
    "version": "1.0.0",
    "description": "Wix project",
    "main": "index.js",
    "scripts": {
      "dev": "webpack -d --watch",
      "build": "webpack -p",
      "ser": "wepback-dev-server -d"
    },
    "repository": {
      "type": "git",
      "url": "git+https://github.com/tamirhuber/RedditGallery.git"
    },
    "author": "Tamir Huber",
    "license": "UNLICENSED",
    "bugs": {
      "url": "https://github.com/tamirhuber/RedditGallery/issues"
    },
    "homepage": "https://github.com/tamirhuber/RedditGallery#readme",
    "dependencies": {
      "babel-loader": "^7.0.0",
      "babel-preset-es2015": "^6.24.1",
      "babel-preset-react": "^6.24.1",
      "react": "^15.5.4",
      "react-dom": "^15.5.4",
      "webpack": "^2.4.1"
    },
    "devDependencies": {
      "babel-core": "^6.24.1",
      "babel-loader": "^7.0.0",
      "css-loader": "^0.28.0",
      "style-loader": "^0.16.1"
    }
  }
  </code></pre>
  
  <p>this is the error:</p>
  
  <pre><code>npm ERR! Windows_NT 10.0.14393
  npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "webpack-dev-server"
  npm ERR! node v6.10.2
  npm ERR! npm  v3.10.10
  
  npm ERR! missing script: webpack-dev-server
  npm ERR!
  npm ERR! If you need help, you may report this error at:
  npm ERR!     &lt;https://github.com/npm/npm/issues&gt;
  
  npm ERR! Please include the following file with any support request:
  npm ERR!     C:\redditGallery\npm-debug.log
  </code></pre>
  
  <p>any thoughts?</p>