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)
|
|
|
|
[![devDependency Status](https://david-dm.org/pushrocks/gulp-browser/dev-status.svg)](https://david-dm.org/pushrocks/gulp-browser#info=devDependencies)
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
gulp-browser is meant to be easy:
|
|
|
|
|
|
|
|
#### Browserify:
|
|
|
|
```javascript
|
|
|
|
var gulp = require("gulp");
|
|
|
|
var gulpBrowser = require("gulp-browser");
|
|
|
|
|
|
|
|
gulp.task('gulpBrowserTest',function(cb) {
|
|
|
|
gulp.src('./test/*.js')
|
|
|
|
.pipe(gulpBrowser.browserify())
|
|
|
|
.pipe(gulp.dest("./test/browserifiedJS/"))
|
|
|
|
});
|
|
|
|
```
|