{
  "name": "babel-esnext",
  "version": "0.2.0",
  "description": "A babel-node wrapper with ES2015+ features",
  "bin": "dist.js",
  "main": "index.js",
  "scripts": {
    "build": "babel cli.js > dist.js"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ekmartin/babel-esnext.git"
  },
  "author": "Martin Ek <mail@ekmartin.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/ekmartin/babel-esnext/issues"
  },
  "homepage": "https://github.com/ekmartin/babel-esnext#readme",
  "dependencies": {
    "babel-cli": "^6.4.5",
    "babel-core": "^6.4.5",
    "babel-preset-es2015": "^6.3.13",
    "babel-preset-stage-0": "^6.3.13"
  }
}

{
  "name": "babel-esnext",
  "version": "0.2.0",
  "description": "A babel-node wrapper with ES2015+ features",
  "bin": "dist.js",
  "main": "index.js",
  "scripts": {
    "build": "babel cli.js > dist.js",
    "prepublish": "npm run build"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ekmartin/babel-esnext.git"
  },
  "author": "Martin Ek <mail@ekmartin.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/ekmartin/babel-esnext/issues"
  },
  "homepage": "https://github.com/ekmartin/babel-esnext#readme",
  "dependencies": {
    "babel-cli": "^6.4.5",
    "babel-core": "^6.4.5",
    "babel-preset-es2015": "^6.3.13",
    "babel-preset-stage-0": "^6.3.13"
  }
}

Add npm run build as a prepublish step
Add npm run build as a prepublish step
