{
  "name": "react-redux-feature-toggles",
  "version": "1.0.0",
  "description": "A package for providing react-redux based feature toggles",
  "main": "./lib/index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "compile": "babel --presets es2015 -d lib/ src/",
    "prepublish": "npm run compile"
  },
  "author": "Filip Johansson",
  "license": "MIT",
  "dependencies": {
    "react": "^15.2.1",
    "react-dom": "^15.2.1",
    "react-redux": "^4.4.5",
    "redux": "^3.5.2"
  },
  "devDependencies": {
    "babel-cli": "^6.18.0",
    "babel-preset-env": "^1.1.4",
    "babel-preset-es2015": "^6.18.0"
  }
}

{
  "name": "react-redux-feature-toggles",
  "version": "1.0.0",
  "description": "A package for providing react-redux based feature toggles",
  "main": "./lib/index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "compile": "babel --plugins transform-object-rest-spread --presets es2015,react -d lib/ src/",
    "prepublish": "npm run compile"
  },
  "author": "Filip Johansson",
  "license": "MIT",
  "dependencies": {
    "react": "^15.2.1",
    "react-dom": "^15.2.1",
    "react-redux": "^4.4.5",
    "redux": "^3.5.2"
  },
  "devDependencies": {
    "babel-cli": "^6.18.0",
    "babel-plugin-transform-object-rest-spread": "^6.20.2",
    "babel-preset-env": "^1.1.4",
    "babel-preset-es2015": "^6.18.0",
    "babel-preset-react": "^6.16.0",
    "webpack": "^1.14.0"
  },
  "babel": {
    "presets": [
      "react",
      "es2015"
    ]
  }
}

Add preset and plugin for react and spread operator
Add preset and plugin for react and spread operator
