Install grunt-cli in a before script, not in the dev dependencies.