npm init and registry config