Skip to content

Commit

Permalink
[elixir] changed added
Browse files Browse the repository at this point in the history
  • Loading branch information
carduz committed Sep 13, 2016
1 parent ed7710c commit 0db2865
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions elixir.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,22 @@ var Gulp = require('gulp');

var Print = require('gulp-print');
var Plumber = require('gulp-plumber');
var Changed = require('gulp-changed');

var MaterialIconsTranslator = require('./gulp');

var Task = Elixir.Task;

Elixir.extend('materialIconsTranslator', function (src, pipe, simple)
Elixir.extend('materialIconsTranslator', function (src, dest, simple)
{
new Task('materialIconsTranslator', function ()
{
return Gulp
.src(src)
.pipe(Print())
.pipe(Plumber())
.pipe(MaterialIconsTranslator(simple))
.pipe(Changed(dest))
.pipe(Gulp.dest(dest))
.pipe(pipe())
.pipe(Print());
}).watch(src);
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "material-icons-translator",
"version": "0.1.5",
"version": "0.1.6",
"description": "This library translates all occurrences of material icons name to the unicode form",
"main": "index.js",
"scripts": {
Expand All @@ -26,15 +26,16 @@
"dependencies": {
"extend": "^3.0.0",
"gulp": "^3.9.1",
"gulp-changed": "^1.3.2",
"gulp-plumber": "^1.1.0",
"gulp-print": "^2.0.1",
"gulp-util": "^3.0.7",
"jison": "^0.4.17",
"laravel-elixir": "^4.0.0",
"material-design-icons": "^3.0.1",
"object.pick": "^1.1.2",
"require-text": "0.0.1",
"through2": "^2.0.1",
"laravel-elixir": "^4.0.0"
"through2": "^2.0.1"
},
"devDependencies": {
"chai": "^3.5.0",
Expand Down

0 comments on commit 0db2865

Please sign in to comment.