Add the dependencies in the package.json files inside your generator.
Thanks, Simon. Where exactly do I call this.installDependencies? I assume in the index.js file, but where and how?
Okay, never mind, I just wrote it like that at the end of my writing: function and it worked! Please let me know, though, if that is not optimal. Thanks again!
You can call it anywhere, it'll just schedule the installation to the end of the process no matter what.