{
  "name": "hackclub.com",
  "version": "0.0.2",
  "description": "New Hack Club website",
  "scripts": {
    "dev": "react-static start",
    "build": "react-static build",
    "start": "serve dist -p 3000",
    "preinstall": "npm run build",
    "social":
      "repng src/components/Social.js -w 512 -h 512 -o public -f social",
    "map-data": "node src/map/data.js",
    "map-render": "babel-node src/map/render.js",
    "map-repng": "repng src/map/Map.js -f public/map -w 2048"
  },
  "author": "Lachlan Campbell",
  "dependencies": {
    "axios": "^0.16.2",
    "babel-preset-env": "^1.6.0",
    "dot-prop": "^4.2.0",
    "palx": "^1.0.2",
    "react": "^16.0.0",
    "react-dom": "^16.0.0",
    "react-router": "^4.2.0",
    "react-simple-maps": "^0.8.4",
    "react-static": "1.x.x",
    "rebass": "^1.0.4",
    "serve": "^6.2.0",
    "uglifyjs-webpack-plugin": "^1.0.0-beta.3",
    "unfetch": "^3.0.0"
  }
}

{
  "name": "hackclub.com",
  "version": "0.0.2",
  "description": "New Hack Club website",
  "scripts": {
    "dev": "react-static start",
    "build": "react-static build",
    "start": "serve dist -p 3000",
    "postinstall": "npm run build",
    "social":
      "repng src/components/Social.js -w 512 -h 512 -o public -f social",
    "map-data": "node src/map/data.js",
    "map-render": "babel-node src/map/render.js",
    "map-repng": "repng src/map/Map.js -f public/map -w 2048"
  },
  "author": "Lachlan Campbell",
  "dependencies": {
    "axios": "^0.16.2",
    "babel-preset-env": "^1.6.0",
    "dot-prop": "^4.2.0",
    "palx": "^1.0.2",
    "react": "^16.0.0",
    "react-dom": "^16.0.0",
    "react-router": "^4.2.0",
    "react-simple-maps": "^0.8.4",
    "react-static": "1.x.x",
    "rebass": "^1.0.4",
    "serve": "^6.2.0",
    "uglifyjs-webpack-plugin": "^1.0.0-beta.3",
    "unfetch": "^3.0.0"
  }
}

Use postinstall instead of preinstall
Use postinstall instead of preinstall
