How to use "Retire.js" in ionic app for OWASP

Can any one tell me, how to integrate “Retire.js” in ionic project in order to check known vulnerabilities