copperhead-browserify

1.1.2 • Public • Published

Build Status

Copperhead Browserify

A generic Gulp build task that compiles JavaScript and React components using Browserify

Copperhead

Installation

From your project root:

npm install copperhead-browserify --save-dev

Usage

Within your gulpfile.js

var gulp = require("gulp"),
    browserifyTask = require("copperhead-browserify");

gulp.task(
    "default",
    browserifyTask(
        {
            entries: ["./fixture/*.jsx"],
            appFileName: "app.min.js",
            dest: "./public/assets/js/",
            globals: true,
            debug: true
        }
    )
);

Extending

You can easily the task, it simply returns the same Gulp stream so you can pipe additional commands for example:


Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

License

GPL-3.0

Changelog

  • Ryan Wild 2015-10-07 Fixing Circle CI build getting rid of Yeoman Assert
  • Ryan Wild 2015-10-06 Adding CircleCI config and fixing up README
  • Ryan Wild 2015-10-06 Updated readme
  • Ryan Wild 2015-10-06 Fixed up some paths that were causing trouble
  • Ryan Wild 2015-09-25 Adding first revision
  • Ryan Wild 2015-09-25 Initial commit

Package Sidebar

Install

npm i copperhead-browserify

Weekly Downloads

1

Version

1.1.2

License

GPL-3.0

Last publish

Collaborators

  • ryanwild