npm preinstall typescript