{
  "name": "react-carousel-scroller",
  "version": "0.4.0",
  "description": "An application agnostic scrolling React component for controllable carousels",
  "main": "./carousel-scroller.js",
  "repository": "https://github.com/osartun/react-carousel-scroller",
  "author": "Oliver Sartun",
  "license": "MIT",
  "dependencies": {
    "babel-runtime": "^6.25.0",
    "classnames": "^2.2.5",
    "prop-types": "^15.5.10",
    "raf": "^3.3.2"
  },
  "peerDependencies": {
    "react": ">=15.3.0"
  },
  "devDependencies": {
    "babel-cli": "^6.24.1",
    "babel-plugin-transform-runtime": "^6.23.0",
    "babel-preset-es2015": "^6.24.1"
  },
  "scripts": {
    "compile": "babel -d ./ src/",
    "prepublish": "npm run compile"
  }
}

{
  "name": "react-carousel-scroller",
  "version": "0.4.0",
  "description": "An application agnostic scrolling React component for controllable carousels",
  "main": "./carousel-scroller.js",
  "repository": "https://github.com/osartun/react-carousel-scroller",
  "author": "Oliver Sartun",
  "license": "MIT",
  "dependencies": {
    "babel-runtime": "^6.25.0",
    "classnames": "^2.2.5",
    "prop-types": "^15.5.10",
    "raf": "^3.3.2"
  },
  "peerDependencies": {
    "react": ">=15.3.0"
  },
  "devDependencies": {
    "babel-cli": "^6.24.1",
    "babel-plugin-transform-runtime": "^6.23.0",
    "babel-preset-es2015": "^6.24.1"
  },
  "scripts": {
    "compile": "babel -d ./ src/",
    "prepublishOnly": "npm run compile"
  }
}

Switch from prepublish to prepublishOnly
Switch from prepublish to prepublishOnly
