How do we include js and css dependencies in Sage 9?

Any improvements could automatic inject the JS and CSS file into the main.js and main.scss?

Based on library’s json file which with the main path:

"main": [
    "slick/slick.js",
    "slick/slick.css",
    "slick/slick.less",
    "slick/slick.scss"
]

if has overrides then use the new one:

 "overrides": {
    "slick-carousel": {
      "slick/slick.js",
      "slick/slick.scss"
    }
]