How to add jquery masonry / JS library

@ewafford is correct. You need to add the packaged, unminified js file to grunt.

I recommend against using the built-in WordPress version because it’s not kept as updated as you can keep it by managing it yourself through Bower (it’s also already minified which isn’t great for Grunt/Gulp).