gulp-bower-task

1.0.0 • Public • Published

gulp-bower-task

gulp bower 插件,方便自动执行bower,并文件copy 到指定目录。

How?

  1. 调用bower.commands.install来执行安装bower
  2. 提供文件夹路径修改,制定到自己希望的目录

Installation:

npm install gulp-bower-task --save

Sample:

var gulp = require('gulp');
var gbowerTask = require('gulp-bower-task');
 
gulp.task('default',function(){
    gulp.src('./Tests/input/bower.json')
        .pipe(gbowerTask())
        .pipe(gulp.dest('./Tests/output/'));
})

Readme

Keywords

Package Sidebar

Install

npm i gulp-bower-task

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • bcguan