update package.json
use preinstall hook instead