title: package.json add "npm install -g" to scripts preinstall
body: <p>When writing <code>package.json</code>: </p>
  
  <p><code>
    "scripts": {
      "preinstall": "npm install -g grunt-cli"
      },
    "devDependencies": {
      "async": "^0.9.0",
      "grunt": "^0.4.5",
      "grunt-contrib-connect": "^0.9.0",
      "grunt-contrib-cssmin": "^0.10.0",
      "grunt-contrib-jshint": "^0.10.0",
      "grunt-contrib-uglify": "^0.6.0",
      "grunt-contrib-watch": "^0.6.1",
      "jit-grunt": "^0.9.0",
      "marked": "^0.3.2",
      "time-grunt": "^1.0.0",
      "underscore": "^1.7.0"
    }
  </code></p>
  
  <p>And then running the command <code>npm install</code></p>
  
  <p>It works on some computers but on some I get this error:
  <a href="http://pastebin.com/rYUwhV5k" rel="nofollow noreferrer">http://pastebin.com/rYUwhV5k</a></p>
  
  <p>Is it proper use of the <code>package.json</code>?
  Is there any other way to do it?
  How can I fix the problem that occurs on the other computers?</p>