copperhead-browserify
v1.1.2
Published
A generic Gulp build task that compiles JavaScript and React components using Browserify
Downloads
4
Readme
Copperhead Browserify
A generic Gulp build task that compiles JavaScript and React components using Browserify
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- 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