gulp-livescript
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -0,1 +1,10 @@ | ||
<a name="0.3.0"></a> | ||
## 0.3.0 (2014-05-25) | ||
#### Features | ||
* **index.js:** replace map-stream with through2 ([62ad1579](https://github.com/tomchentw/gulp-livescript/commit/62ad1579f393c3f4a0e4b0cdb15be2270e8e6fd6)) | ||
<a name="0.2.1"></a> | ||
@@ -2,0 +11,0 @@ ### 0.2.1 (2014-03-07) |
16
index.js
@@ -1,3 +0,3 @@ | ||
var mapStream, LiveScript, gutil; | ||
mapStream = require('map-stream'); | ||
var through, LiveScript, gutil; | ||
through = require('through2'); | ||
LiveScript = require('LiveScript'); | ||
@@ -7,7 +7,4 @@ gutil = require('gulp-util'); | ||
options || (options = {}); | ||
function modifyLS(file, cb){ | ||
function modifyLS(file, enc, cb){ | ||
var ref$, e; | ||
function done(){ | ||
cb(void 8, file); | ||
} | ||
function fatalError(it){ | ||
@@ -18,3 +15,3 @@ cb( | ||
if (file.isNull()) { | ||
return done(); | ||
return cb(); | ||
} | ||
@@ -31,5 +28,6 @@ if (file.isStream()) { | ||
} | ||
done(); | ||
this.push(file); | ||
cb(); | ||
} | ||
return mapStream(modifyLS); | ||
return through.obj(modifyLS); | ||
}; | ||
@@ -36,0 +34,0 @@ function import$(obj, src){ |
{ | ||
"name": "gulp-livescript", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Compile LiveScript to JavaScript for Gulp", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "mocha --compilers ls:LiveScript", | ||
"build": "gulp build --require LiveScript", | ||
"release": "gulp release --require LiveScript" | ||
"test": "mocha --compilers ls:LiveScript" | ||
}, | ||
@@ -34,14 +32,13 @@ "repository": { | ||
"dependencies": { | ||
"LiveScript": "^1.2.0", | ||
"gulp-util": "*", | ||
"LiveScript": "~1.2.0", | ||
"map-stream": "~0.1.0" | ||
"through2": "^0.4.2" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~1.17.1", | ||
"should": "~3.1.2", | ||
"gulp": "~3.5.2", | ||
"gulp-bump": "~0.1.4", | ||
"gulp-conventional-changelog": "~0.1.1", | ||
"gulp-exec": "~1.0.4" | ||
"mocha": "^1.17.1", | ||
"should": "^3.1.2", | ||
"gulp": "^3.5.2", | ||
"gulp-bump": "^0.1.4", | ||
"gulp-conventional-changelog": "^0.1.1" | ||
} | ||
} |
# gulp-livescript | ||
> Distributed via | ||
[![NPM version](https://badge.fury.io/js/gulp-livescript.png)](http://badge.fury.io/js/gulp-livescript) | ||
[![Version ](https://img.shields.io/npm/v/gulp-livescript.svg) ](https://www.npmjs.org/package/gulp-livescript) | ||
> Compile LiveScript to JavaScript for Gulp | ||
[![Build Status](https://secure.travis-ci.org/tomchentw/gulp-livescript.png)](http://travis-ci.org/tomchentw/gulp-livescript) [![Code Climate](https://codeclimate.com/github/tomchentw/gulp-livescript.png)](https://codeclimate.com/github/tomchentw/gulp-livescript) [![Dependency Status](https://gemnasium.com/tomchentw/gulp-livescript.png)](https://gemnasium.com/tomchentw/gulp-livescript) | ||
[![Travis CI ](https://img.shields.io/travis/tomchentw/gulp-livescript/master.svg) ](https://travis-ci.org/tomchentw/gulp-livescript) | ||
[![Quality ](https://img.shields.io/codeclimate/github/tomchentw/gulp-livescript.svg) ](https://codeclimate.com/github/tomchentw/gulp-livescript) | ||
[![Dependencies](https://img.shields.io/gemnasium/tomchentw/gulp-livescript.svg) ](https://gemnasium.com/tomchentw/gulp-livescript) | ||
@@ -23,3 +25,3 @@ | ||
<td>Node Version</td> | ||
<td>>= 0.9</td> | ||
<td>>= 0.10</td> | ||
</tr> | ||
@@ -76,3 +78,3 @@ <tr> | ||
[![devDependency Status](https://david-dm.org/tomchentw/gulp-livescript/dev-status.png?branch=master)](https://david-dm.org/tomchentw/gulp-livescript#info=devDependencies) | ||
[![devDependency Status](https://david-dm.org/tomchentw/gulp-livescript/dev-status.svg?theme=shields.io)](https://david-dm.org/tomchentw/gulp-livescript#info=devDependencies) | ||
@@ -79,0 +81,0 @@ 1. Fork it |
Sorry, the diff of this file is not supported yet
9915
5
89
34
+ Addedthrough2@^0.4.2
+ AddedLiveScript@1.3.1(transitive)
+ Addeddeep-is@0.1.4(transitive)
+ Addedfast-levenshtein@1.0.7(transitive)
+ Addedlevn@0.2.5(transitive)
+ Addedobject-keys@0.4.0(transitive)
+ Addedoptionator@0.4.0(transitive)
+ Addedprelude-ls@1.1.2(transitive)
+ Addedreadable-stream@1.0.34(transitive)
+ Addedthrough2@0.4.2(transitive)
+ Addedtype-check@0.3.2(transitive)
+ Addedwordwrap@0.0.3(transitive)
+ Addedxtend@2.1.2(transitive)
- Removedmap-stream@~0.1.0
- RemovedLiveScript@1.2.0(transitive)
- Removedmap-stream@0.1.0(transitive)
- Removedprelude-ls@1.0.3(transitive)
UpdatedLiveScript@^1.2.0