# refill-task-browserify

> Browserify task in Refill format

Latest version **3.0.0** (published 2016-10-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install refill-task-browserify
pnpm add refill-task-browserify
yarn add refill-task-browserify
bun add refill-task-browserify
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2016-10-07 |
| First published | 2016-10-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Piotr Baranowski |
| Maintainers | bolo |
| Keywords | gulp, refill, tasks |

## Links

- npm: https://www.npmjs.com/package/refill-task-browserify
- Repository: https://github.com/refilljs/refill-task-browserify
- Issues: https://github.com/refilljs/refill-task-browserify/issues
- npm.io page: https://npm.io/package/refill-task-browserify

## Dependencies (14)

- [gulp-if](https://npm.io/package/gulp-if.md) ^2.0.1
- [babelify](https://npm.io/package/babelify.md) ^7.3.0
- [gulp-rev](https://npm.io/package/gulp-rev.md) ^7.1.2
- [watchify](https://npm.io/package/watchify.md) ^3.7.0
- [browserify](https://npm.io/package/browserify.md) ^13.1.0
- [gulp-watch](https://npm.io/package/gulp-watch.md) ^4.3.10
- [gulp-uglify](https://npm.io/package/gulp-uglify.md) ^2.0.0
- [refill-globby](https://npm.io/package/refill-globby.md) ^1.0.1
- [refill-logger](https://npm.io/package/refill-logger.md) ^1.0.3
- [gulp-streamify](https://npm.io/package/gulp-streamify.md) ^1.0.2
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) ^6.16.0
- [refill-next-handler](https://npm.io/package/refill-next-handler.md) ^1.1.1
- [vinyl-source-stream](https://npm.io/package/vinyl-source-stream.md) ^1.1.0
- [browserify-ngannotate](https://npm.io/package/browserify-ngannotate.md) ^2.0.0

## Recent versions

- 3.0.0 (latest) — 2016-10-07
- 2.0.0 — 2016-10-02

## README

Refill task browserify
======================

Browserify task in refill format

[<img alt="Made by Zaklinacze Kodu" src="http://zaklinaczekodu.com/_assets/madeBy.svg" width="200">](http://zaklinaczekodu.com)

[Facebook](https://www.facebook.com/zaklinaczekodu)

Shields
-------

[![npm](https://img.shields.io/npm/v/refill-task-browserify.svg?style=flat-square)](https://www.npmjs.com/package/refill-task-browserify)
[![npm](https://img.shields.io/npm/l/refill-task-browserify.svg?style=flat-square)](https://www.npmjs.com/package/refill-task-browserify)
[![npm](https://img.shields.io/npm/dm/refill-task-browserify.svg?style=flat-square)](https://www.npmjs.com/package/refill-task-browserify)
[![Travis](https://img.shields.io/travis/refilljs/refill-task-browserify/master.svg?style=flat-square)](https://travis-ci.org/refilljs/refill-task-browserify)<br>
[![bitHound Overall Score](https://www.bithound.io/github/refilljs/refill-task-browserify/badges/score.svg)](https://www.bithound.io/github/refilljs/refill-task-browserify)
[![bitHound Dependencies](https://www.bithound.io/github/refilljs/refill-task-browserify/badges/dependencies.svg)](https://www.bithound.io/github/refilljs/refill-task-browserify/master/dependencies/npm)
[![bitHound Dev Dependencies](https://www.bithound.io/github/refilljs/refill-task-browserify/badges/devDependencies.svg)](https://www.bithound.io/github/refilljs/refill-task-browserify/master/dependencies/npm)
[![bitHound Code](https://www.bithound.io/github/refilljs/refill-task-browserify/badges/code.svg)](https://www.bithound.io/github/refilljs/refill-task-browserify)<br>
[![GitHub forks](https://img.shields.io/github/forks/refilljs/refill-task-browserify.svg?style=flat-square)](https://github.com/refilljs/refill-task-browserify)
[![GitHub stars](https://img.shields.io/github/stars/refilljs/refill-task-browserify.svg?style=flat-square)](https://github.com/refilljs/refill-task-browserify)
[![GitHub watchers](https://img.shields.io/github/watchers/refilljs/refill-task-browserify.svg?style=flat-square)](https://github.com/refilljs/refill-task-browserify)

Installation
------------

```bash
npm install --save refill-task-browserify refill gulp
```

Example
-------

Refill taks browserify is used in [Refill for Angular](https://github.com/refilljs/refill-angular)

Usage
-----

gulpfile.js

```javaScript
require('refill')({
  js: {
    task: require('refill-task-browserify')
  }
}, require('gulp'), mode, getOutputDir)
```

### mode

Shared configuration object. Properties used

```javaScript
{
  env: 'dev',                                 // 'prod', 'test'
  watch: true,                                // false
  angularMainModuleProdFallback: undefined    // this will be set to true if test or dev entries are not found
}
```

### getOutputDir

function that will return a base for output dir, for example

```javaScript
function () {
  return 'dist/';
}
```

in this case js will be saved in `dist/index.js` file

Default options
---------------

```javaScript
{
  devEntries: 'src/dev/index.js',
  prodEntries: 'src/index.js',
  testEntries: 'src/test/index.js',
  uglify: undefined,                    // gulp-uglify options
  browserifyTransforms: [
    [babelify, {
      presets: [babelPresetEs2015]
    }],
    browserifyNgannotate
  ]
}
```

Changelog
---------

[Changelog at github](https://github.com/refilljs/refill-task-browserify/releases)

Sponsors
--------

[<img alt="Zaklinacze Kodu" src="http://zaklinaczekodu.com/_assets/logo.svg" width="200">](http://zaklinaczekodu.com)

---
_Source: https://npm.io/package/refill-task-browserify · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
