Fix frequent and intermintent build errors during npm install
See https://github.com/npm/npm/issues/6238 for more info
Merge pull request #6177 from LaurentGoderre/fix-npm-install

Fix frequent and intermintent build errors during npm install
Converted the post build scripts to grunt/node
Fixes #6135
Merge pull request #6146 from LaurentGoderre/convert-post-build

Converted the post build scripts to grunt/node