Skip to content

lucassarcanjo/local-npm-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 Local NPM Registry

Private registry powered by Verdaccio and works with docker-compose to act like a proxy between a project and npm registry. With this, you can work in an npm library and fastly publish to test in your application.

Contains:

  • conf: configuration file and a user httppasswd
  • storage: folder of published packages

Usage

You need to have docker and docker compose installed on your machine. Then, run:

$> cd ./verdaccio

$> docker-compose up

Verdaccio will be available on http://localhost:4873/. This repo also contains a script to optimize the workflow of publishing a package and refresh de dependency on your app. Use at your own risk!

License

This project is under the Apache 2.0 license. See here for details.