Unfortunately `script` doesn't truly the user as you'd expect. This seems to do the job to get `npm install` working.