- In the project root dir, run:
npm link
- Move into the testing app dir and then run:
npm link @sidetrek/react-components
- To undo (the order is again important!):
- In the project root dir, run:
npm unlink
- Move into the testing app dir and then run:
npm unlink @sidetrek/react-components
- In the project root dir, run:
- Run
npm run dev
to run a local react app to test the components before publish - If library is added, run
npm run build
- Push all changes to github
- Run
npm run release