include public/lib in JS deps