Display files tree with dirs first

tree --dirsfirst | COPY

you can also exclude some directories using

tree -I 'node_modules|cache|test_*'