Update scripts for proper npm publication.