This is a suggested workflow for building npm modules locally. The particular context will be focused on building a React component lib, but the workflow can be applied for any npm module.
yarn link
is a really great tool for local development. It builds a global npm module that
is symlinked to your local repo. So when you make a change to the repo, the global module is
automatically updated.