Go to file
2017-07-07 18:32:37 +02:00
dist update to latest standards 2017-07-07 18:32:37 +02:00
test update to latest standards 2017-07-07 18:32:37 +02:00
ts update to latest standards 2017-07-07 18:32:37 +02:00
.gitignore added typings, removed beautylog 2016-12-13 23:01:25 +01:00
.gitlab-ci.yml update to latest standards 2017-07-07 18:32:37 +02:00
.npmignore cleanup 2016-02-09 17:06:26 +01:00
LICENSE Initial commit 2015-10-24 16:32:34 +02:00
npmextra.json update to latest standards 2017-07-07 18:32:37 +02:00
package.json update to latest standards 2017-07-07 18:32:37 +02: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
yarn.lock update to latest standards 2017-07-07 18:32:37 +02: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