Shim repository for Masonry as Contao Component.
composer require heimrichhannot-contao-components/masonry
Add the following to your config (keep keys to prevent double integration):
$GLOBALS['TL_JAVASCRIPT']['huh_components_masonry'] = 'assets/masonry/dist/masonry.pkgd.min.js|static';
$GLOBALS['TL_JAVASCRIPT']['huh_components_masonry'] = 'assets/components/masonry/dist/masonry.pkgd.min.js|static';
Update Library:
svn export https://github.com/desandro/masonry.git/trunk/dist