Go to file
Philipp Kunz d0e6bbd162 3.0.4
2016-12-23 22:09:57 +01:00
dist compiled 2016-12-13 23:02:07 +01:00
test added typings, removed beautylog 2016-12-13 23:01:25 +01:00
ts added typings, removed beautylog 2016-12-13 23:01:25 +01:00
.gitignore added typings, removed beautylog 2016-12-13 23:01:25 +01:00
.gitlab-ci.yml improve README and metadata 2016-12-23 22:09:55 +01:00
.npmignore cleanup 2016-02-09 17:06:26 +01:00
LICENSE Initial commit 2015-10-24 16:32:34 +02:00
npmts.json now running coverage 2016-02-09 16:39:36 +01:00
package.json 3.0.4 2016-12-23 22:09:57 +01:00
README.md improve README and metadata 2016-12-23 22:09:55 +01:00
tslint.json added typings, removed beautylog 2016-12-13 23:01:25 +01:00

gulp-browser

browserify and other goodies for gulp

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

Browserify:

    let gulp = require("gulp");
    let gulpBrowser = require("gulp-browser");
    
    let transforms = [
        {
            transform: "babelify",
            options: {presets: ["es2015"]}
        }
    ];
    
    gulp.task('gulpBrowserTest',function() {
        var stream = gulp.src('./test/*.js')
            .pipe(gulpBrowser.browserify(transforms)) // gulp.browserify() accepts an optional array of tansforms
            .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.

Contributors

npm