Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
gulp-bower
Advanced tools
Install Bower packages.
This task is designed for gulp 3.
First, install gulp-bower
as a development dependency:
npm install --save-dev gulp-bower
Then, add it to your gulpfile.js
:
var gulp = require('gulp');
var bower = require('gulp-bower');
gulp.task('bower', function() {
return bower()
.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 specify a custom Bower directory:
var gulp = require('gulp');
var bower = require('gulp-bower');
gulp.task('bower', function() {
return bower('./my_bower_components')
.pipe(gulp.dest('lib/'))
});
To set the current working directory, you must pass in an options
object:
var gulp = require('gulp');
var bower = require('gulp-bower');
gulp.task('bower', function() {
return bower({ directory: './my_bower_components', cwd: './myapp' })
.pipe(gulp.dest('lib/'))
});
By default gulp-bower
runs install
command for Bower.
Using cmd
property, you can specify the custom command. (e.g. update
)
var bower = require('gulp-bower');
gulp.task('bower', function() {
return bower({ cmd: 'update'});
});
#####0.0.10
#####0.0.9
#####0.0.8
#####0.0.7
#####0.0.6
#####0.0.5
#####0.0.4
#####0.0.3
#####0.0.2
#####0.0.1
FAQs
Install Bower packages.
We found that gulp-bower demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.