public function getDependenciesFolder()
    {
        // Look for a configuration file
        $paths = array_filter([
            $this->paths->getBasePath().'.bowerrc',
            $this->paths->getUserHomeFolder().'/.bowerrc',
        ], [$this->files, 'has']);

        $file = head($paths);
        if ($file) {
            $file = $this->files->read($file);
            $file = json_decode($file, true);
        }

        return array_get($file, 'directory', 'bower_components');
    }