Skip to content

Chumper/npmrc-cli-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scoped registry example

This is to show the precedence between the .npmrc and and cli flags.

The package name is @foo/test and the .npmrc says that the @foo scope is at http://localhost:3333.

The expected behaviour of npm publish --registry http://localhost:4444 is that the package is publised to http://localhost:4444. Looking at the the debug log, npm still attempts to publish the package to http://localhost:3333.

About

Repo to illustrate the precedence between .npmrc and cli flags

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%