Explains the guidelines to follow when developing components for Lottie Player.
Once you have installed Node.js (which includes the popular
npmpackage manager), open the Terminal and run the following to install Yarn:
npm install --global yarn
After installing Yarn, run the following commands to install the dependencies, and test and build the project.
- Use code formatting in the IDE using the given eslint+prettier configs.
- Write tests to cover all functions and code branches with valid and invalid values.
- All projects should build under Windows, macOS and Ubuntu. We typically use compatibility shims such as SHX to assist with this.