Compare commits

...

9 Commits

Author SHA1 Message Date
92ad03fc65 0.0.18 2015-12-06 22:07:59 +01:00
50dd2b193a 0.0.17 2015-12-06 22:07:25 +01:00
fb3e693f2a updated dependencies 2015-12-06 22:07:18 +01:00
92841c1715 fix comment typo 2015-12-05 22:59:22 +01:00
07b6fea447 0.0.16 2015-12-05 22:52:26 +01:00
809a1f7450 improve readme 2015-12-05 22:51:38 +01:00
9e1716cba5 add bithound.io: closes #3 2015-12-05 22:48:02 +01:00
66ac210e5e improve readme 2015-12-05 22:36:11 +01:00
663e8f1984 improve readme 2015-12-05 22:35:41 +01:00
4 changed files with 14 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
node_modules/
.settings/
.idea/
npm-debug.log
ts/*.js
ts/*.js.map

View File

@ -4,7 +4,9 @@ browserify and other goodies for gulp
### Build Status/Dependencies
[![Build Status](https://travis-ci.org/pushrocks/gulp-browser.svg?branch=master)](https://travis-ci.org/pushrocks/gulp-browser)
[![Dependency Status](https://david-dm.org/pushrocks/gulp-browser.svg)](https://david-dm.org/pushrocks/gulp-browser)
[![devDependency Status](https://david-dm.org/pushrocks/gulp-browser/dev-status.svg)](https://david-dm.org/pushrocks/gulp-browser#info=devDependencies)
[![bitHound Dependencies](https://www.bithound.io/github/pushrocks/gulp-browser/badges/dependencies.svg)](https://www.bithound.io/github/pushrocks/gulp-browser/master/dependencies/npm)
[![bitHound Code](https://www.bithound.io/github/pushrocks/gulp-browser/badges/code.svg)](https://www.bithound.io/github/pushrocks/gulp-browser)
### Usage
gulp-browser is meant to be easy:
@ -20,4 +22,10 @@ gulp-browser is meant to be easy:
.pipe(gulp.dest("./test/browserifiedJS/"));
return stream;
});
```
```
> **Note:** Be aware of how gulp.src creates values of file.base and file.path since that is important to the require statements.
### Dev Information:
[![devDependency Status](https://david-dm.org/pushrocks/gulp-browser/dev-status.svg)](https://david-dm.org/pushrocks/gulp-browser#info=devDependencies)
[![bitHound Dev Dependencies](https://www.bithound.io/github/pushrocks/gulp-browser/badges/devDependencies.svg)](https://www.bithound.io/github/pushrocks/gulp-browser/master/dependencies/npm)

View File

@ -1,6 +1,6 @@
{
"name": "gulp-browser",
"version": "0.0.15",
"version": "0.0.18",
"description": "browserify and other goodies for gulp",
"main": "index.js",
"scripts": {
@ -28,7 +28,7 @@
"dependencies": {
"browserify": "12.0.1",
"gulp-util": "3.0.7",
"pushrocks": "1.0.23",
"pushrocks": "1.0.24",
"through2": "2.0.0"
},
"devDependencies": {

View File

@ -2,7 +2,7 @@
module GulpBrowserBrowserify {
export function init() {
return function() {
return through.obj((file, enc, cb) => { //this is the trough object that gets returned by gulpBrowser.browserify();
return through.obj((file, enc, cb) => { //this is the through object that gets returned by gulpBrowser.browserify();
var bundleCallback = function(err, bufferedContent) {
if (Buffer.isBuffer(bufferedContent)){
file.contents = bufferedContent;