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
masterbranch) npm installnpm run test:watchthis 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-trackingto your project (npm i react-tracking) npm installin your local checkout of react-trackingnpm linkin react-trackingnpm link react-trackingin the project you want to use it innpm run build:watchin 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.