{
  "name": "gshorten-server",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "postinstall": "echo \"Please input your app-key for Google shorten:\" && read apikey && echo APIKEY=$apikey > test",
    "serve": "foreman start web",
    "deploy": "git push heroku master"
  },
  "author": "ragingwind",
  "license": "ISC",
  "dependencies": {
    "express": "^4.12.4"
  }
}

{
  "name": "gshorten-server",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "setup": "echo \"Please input your app-key for Google shorten:\" && read apikey && echo APIKEY=$apikey > test",
    "serve": "foreman start web",
    "deploy": "git push heroku master"
  },
  "author": "ragingwind",
  "license": "ISC",
  "dependencies": {
    "express": "^4.12.4"
  }
}

Move script postinstall to setup
Move script postinstall to setup
