Link local NPM package

Building a package locally and create a dependency for it

Install Yarn before you go any further.

In the package to be developed folder

this is where you find the package.json folder.

<prompt> /your-package-folder/your-to-be-build-package/yarn link

This creates a global reference to the package

In the application folder that uses this package

<prompt> /your-app-folder/project/yarn link "your-to-be-build-package"
Last update: Thu, 21 Jun 2018 23:45:14