Magento 2 how to add Materialize javascript in Magento 2?

I have tried to add materialize js to Magento 2 but it does not work. I have my materialize js in theme/web/js.

then I have the requirejs-config.js in theme/

this is the code:

var config = {

    // When load 'requirejs' always load the following files also
    deps: [


and I put my materialize.js inside this code:

    function($) {

Thank you and greetings!