script to merge all lottie animations in one big json
nodejs with packages copy and jsonfile (run npm install
to get them)
- Put all your lottie's folder animation in animations main folder
- Run
node merge.js
in the root folder of the project - Get the merged json and images in mergelotties folder
Depending on where you are going to put the merged animations you could want to change the path of images wrote in the merged json. To do that change the variable onlineurl in merge.js file