gulp-blueprint
v0.3.8
Published
Setup gulp with many common tasks in seconds!
Downloads
15
Maintainers
Readme
gulp-blueprint
Installation
$ npm install --save-dev gulp-blueprint
Description
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()
.
buildInto
string defaults to'public'
, specify the build folderassets
string defaults to'assets'
, specify where assets can be foundvendor
string defaults to'vendor'
, specify where vendor files can be foundapp
string defaults to'app/client'
, specify where your client-side JavaScript can be foundtemplates
boolean defaults totrue
, whether Angular templates should be converted to JavaScriptproxy
string defaults to'localhost:8000'
, proxy option for Browsersync.
Test
$ npm install -g mocha
$ mocha