Testing npm package locally
Solution
In project folder (eg: test-package
):
npm link
In project using the test-package
:
npm link test-package
To unlink
In test-package
npm unlink
In project folder (eg: test-package
):
npm link
In project using the test-package
:
npm link test-package
unlink
In test-package
npm unlink