Package.json preinstall not running on build

Partially answered here: Modify package.json before npm install is run - #9 by hrishikesh