gulp-blueprint
v0.3.8
Published
Setup gulp with many common tasks in seconds!
Downloads
2
Maintainers
Readme
gulp-blueprint
Installation
$ npm install --save-dev gulp-blueprintDescription
This package can be used to setup many common gulp tasks.
Features:
- Copy HTML files from assets
- Copy vendor scripts
- Register Angular modules
- Convert Angular templates to JavaScript
- Compile SASS to a minified CSS stylesheet
- Browserify, Babelify ES6 to ES5, ngAnnotate & minify JavaScript
- Watch task to rebuild project on changes
Usage
gulpfile.js
var blueprint = require('gulp-blueprint');
blueprint();Options
You can pass an options object to blueprint().
buildIntostring defaults to'public', specify the build folderassetsstring defaults to'assets', specify where assets can be foundvendorstring defaults to'vendor', specify where vendor files can be foundappstring defaults to'app/client', specify where your client-side JavaScript can be foundtemplatesboolean defaults totrue, whether Angular templates should be converted to JavaScriptproxystring defaults to'localhost:8000', proxy option for Browsersync.
Test
$ npm install -g mocha
$ mocha