title: Build not found error when trying to create an installer for my electron app
body: <p>I am trying to create a window installer for my electron app (so that it can be run on any windows computer as a standalone app) using electron-builder <a href="https://www.npmjs.com/package/electron-builder" rel="nofollow">https://www.npmjs.com/package/electron-builder</a></p>
  
  <p>When typing <code>npm run dist</code> on my computer, i run into the following error.</p>
  
  <pre><code>sh: 1: build: not found
  
  npm ERR! Linux 3.4.0+
  npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dist"
  npm ERR! node v6.2.2
  npm ERR! npm  v3.9.5
  npm ERR! file sh
  npm ERR! code ELIFECYCLE
  npm ERR! errno ENOENT
  npm ERR! syscall spawn
  npm ERR! &lt;NAME&gt;@0.0.0 dist: `build`
  npm ERR! spawn ENOENT
  npm ERR!
  npm ERR! Failed at the &lt;NAME&gt;@0.0.0 dist script 'build'.
  npm ERR! Make sure you have the latest version of node.js and npm installed.
  npm ERR! If you do, this is most likely a problem with the &lt;NAME&gt;,
  npm ERR! not with npm itself.
  npm ERR! Tell the author that this fails on your system:
  npm ERR!     build
  </code></pre>
  
  <p>Below is how my package.json file looks</p>
  
  <pre><code>{
    "name": "&lt;NAME&gt;",
    "version": "0.0.0",
    "description": "[...]",
    "main": "index.js",
    "build": {
      "appId": "test.321",
      "app-category-type": "your.app.category.type",
      "win": {
        "iconUrl": "http://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png"
      }
    },
    "scripts": {
      "start": "electron main.js",
      "postinstall": "install-app-deps",
      "pack": "build --dir",
      "dist": "build"
    },
    "author": "&lt;NAME&gt; &lt;jon@gmail.com&gt;",
    "license": "ISC",
    "devDependencies": {
      "electron": "^1.3.3",
      "electron-installer-squirrel-windows": "^1.3.0",
      "electron-packager": "^7.5.1"
    }
  }
  </code></pre>
  
  <p>I am using windows 10, and executing the command via bash</p>