0.0.8 • Published 10 years ago

gulp-angular-dep v0.0.8

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

gulp-angular-dep Code Climate npm version

Configurable dynamic install angular Bower dependencies.

DEPRECATED

Use instead gulp-framework-dep: npm or github

Usage

First, install gulp-angular-dep as a development dependency:

npm install --save gulp-angular-dep

Then, add it to your gulpfile.js:

var gulp = require('gulp');
var angularDep = require('gulp-angular-dep');

gulp.task('default', function() {
  return angularDep()
    .pipe(gulp.dest('lib/'))
});

This defaults to the directory configured in ./.bowerrc or to ./bower_components when no .bowerrc could be found.

You can also pass a config Object with all these optional parameters to gulp-angular-dep:

var gulp = require('gulp');
var angularDep = require('gulp-angular-dep');

gulp.task('default', function() {
  return angularDep({
      //path to .bowerrc
       cwd: './',
       //bower folders where to pick files
       directory: './bower_components',
       //pick minified version from bower folders
       minified: true,
       //exclude files from stream
       exclude: ['arg1','arg2','arg3', .....]
 })
    .pipe(gulp.dest('path/'))
});

Changelog

#####0.0.1

  • initial release

#####0.0.4

  • updated README.md on npm

#####0.0.5

  • updated README.md and index.js typo
0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.1

10 years ago