Skip to content
This repository has been archived by the owner on Mar 19, 2020. It is now read-only.

TonyBogdanov/gulp-faviconr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gulp-Faviconr

Buy Me a Coffee

Gulp wrapper for TonyBogdanov/faviconr's generate method.

Installing

$ npm install --save-dev gulp-faviconr

Usage

var faviconr = require('gulp-faviconr');

gulp.task('favicons', function() {
    return faviconr();
});

// or

gulp.task('favicons', function() {
    return faviconr({
        cwd: '/path/to/current/working/directory',
        json: '/path/to/faviconr.json',
        cmd: '-vv'
    });
});

The function accepts a single optional argument of type object with the following structure:

Key Description
cwd A valid path to cd to and use as the current working directory.
json Path to a valid faviconr.json file, defaults to faviconr.json in the cwd.
cmd Additional command line arguments to be relayed to faviconr.

CLI

If you need a console-only solution, just use the TonyBogdanov/faviconr package.

Releases

No releases published

Packages

No packages published