const gulp = require('gulp');
const browserify = require('gulp-browserify');
const pkg = require('./package.json')

gulp.task('build', () =>
  gulp.src(pkg.main)
    .pipe(browserify({
      insertGlobals : true,
      debug : !gulp.env.production
    }))
    .pipe(gulp.dest('dist'))
);

gulp.task('default', ['build']);

const gulp = require('gulp');
const browserify = require('gulp-browserify');
const rename = require("gulp-rename");
const pkg = require('./package.json');

gulp.task('build', () =>
  gulp.src(pkg.main)
    .pipe(browserify({
    insertGlobals: true,
    debug: !gulp.env.production
  }))
  .pipe(rename(function(path) {
    path.basename = pkg.name;
  }))
  .pipe(gulp.dest('dist'))
);

gulp.task('default', ['build']);

Add renaming of index.js to memefy.js
Add renaming of index.js to memefy.js
