First, thank you for contributing! 🎉
The local development workflow is fairly straightfowrad:
- Fork the repo and then git clone your fork locally (be sure to work on a new branch, not on your
master
branch) npm install
npm run test:watch
this will run the tests in watch mode
If you'd like to test out a local version of react-tracking
in an app you're using it in, you can:
- Add
react-tracking
to your project (npm i react-tracking
) npm install
in your local checkout of react-trackingnpm link
in react-trackingnpm link react-tracking
in the project you want to use it innpm run build:watch
in react-tracking to run the watcher to get updates as you develop
Then you'll be pointing at the local checkout of react-tracking to test your changes from within your app.