@ampersandhq/gulpicon

1.2.8 • Public • Published

Gulpicon

A gulp task wrapper for grunticon-lib.

Install

To install to your project and save the dependency in package.json:

npm install -s @ampersandhq/gulpicon

Usage

var glob = require("glob");
var gulp = require("gulp");
var gulpicon = require("@ampersandhq/gulpicon/tasks/gulpicon");

// grab the config, tack on the output destination
var config = require("./example/config.js");
config.dest = "example/output";

// grab the file paths
var files = glob.sync("example/svg/*.svg");

// set up the gulp task
gulp.task("icons", gulpicon(files, config));

TODO

  1. Move to plugin/operation on stream of files, requires alterations to grunticon-lib.

Readme

Keywords

Package Sidebar

Install

npm i @ampersandhq/gulpicon

Weekly Downloads

170

Version

1.2.8

License

MIT

Unpacked Size

29 kB

Total Files

28

Last publish

Collaborators

  • ppunsworth
  • adithya1997
  • adamwatkin.idhl
  • mattenglandidhl
  • chandu-pinpoint
  • ergys.sahatcija
  • adam-paterson
  • stevens97
  • jamesbarlow
  • ampdan
  • douglasradburn
  • aideyanc
  • alinaampersand
  • mattredgate
  • lyndsamp
  • lissiecoxwork
  • nrauni
  • amphq_deploy
  • cvdberg1
  • jonnymarsamp
  • tr33m4n
  • liam.toohey
  • ahasamp
  • aliyaaussie