flatten packages in node_modules