2015-10-24 14:51:30 +00:00
# gulp-browser
2015-10-27 15:46:57 +00:00
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)
2015-12-05 21:48:02 +00:00
[![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)
2016-02-09 16:04:11 +00:00
[![Coverage Status ](https://coveralls.io/repos/github/pushrocks/gulp-browser/badge.svg?branch=master )](https://coveralls.io/github/pushrocks/gulp-browser?branch=master)
2015-10-27 15:46:57 +00:00
### Usage
gulp-browser is meant to be easy:
#### Browserify:
```javascript
var gulp = require("gulp");
var gulpBrowser = require("gulp-browser");
2015-10-27 15:55:44 +00:00
gulp.task('gulpBrowserTest',function() {
var stream = gulp.src('./test/*.js')
2015-10-27 15:46:57 +00:00
.pipe(gulpBrowser.browserify())
2015-10-27 15:55:44 +00:00
.pipe(gulp.dest("./test/browserifiedJS/"));
return stream;
2015-10-27 15:46:57 +00:00
});
2015-12-05 21:35:41 +00:00
```
2015-12-05 21:51:38 +00:00
> **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)
2016-01-25 04:09:24 +00:00
[![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)
### About the authors:
[![Project Phase ](https://mediaserve.lossless.digital/lossless.de/img/createdby_github.svg )](https://lossless.com/)
[![Gitter ](https://img.shields.io/badge/Support%20us-PayPal-blue.svg )](https://paypal.me/lossless)