{
  "name": "robot-breakout",
  "version": "0.0.1",
  "description": "Classic breakout game but with robots",
  "scripts": {
    "babel": "babel --presets es2015 js/main.js -w -o build/main.bundle.js",
    "start": "npm run babel & ./node_modules/http-server/bin/http-server . -p 3000"
  },
  "keywords": [
    "classic",
    "breakout",
    "game"
  ],
  "author": "Bjørn A. Johansen",
  "license": "MIT",
  "devDependencies": {
    "babel-cli": "^6.11.4",
    "babel-core": "^6.13.2",
    "babel-preset-es2015": "^6.13.2",
    "http-server": "^0.9.0"
  }
}

{
  "name": "robot-breakout",
  "version": "0.0.1",
  "description": "Classic breakout game but with robots",
  "scripts": {
    "babel": "babel --watch js --out-dir build",
    "start": "npm run babel & ./node_modules/http-server/bin/http-server . -p 3000"
  },
  "keywords": [
    "classic",
    "breakout",
    "game"
  ],
  "author": "Bjørn A. Johansen",
  "license": "MIT",
  "devDependencies": {
    "babel-cli": "^6.11.4",
    "babel-core": "^6.13.2",
    "babel-preset-es2015": "^6.13.2",
    "http-server": "^0.9.0"
  }
}

Make Babel watch js directory
Make Babel watch js directory
