loadNpmTasks takes an array

This is to reduce boilerplate.