Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
gulp-lazy-task
Advanced tools
Readme
gulp-lazy-task - lazy gulp task loader
this.util
or this.sourceMaps
no more require.var task = require('gulp-lazy-task')('./tasks');
task('ololo', {param:11})
in file './tasks/' + taskName + '.js'
module.exports = function (options, callback) {
options // {param: 11}
this.gulp // gulp
this.util // gulp-util plugin
this // gulp-load-plugins
// his read you package.json file and create getters on "this"
// you no longer need to call require()
// to load gulp plugin like "gulp-source-maps" just white this.sourceMaps
// and anjoy =)
}
in gulpfile.js :
var task = require('gulp-lazy-task')('./tasks');
task('babel', {
src:['./src/**/*.js'],
dest: './build/'
})
in './tasks/babel.js' :
module.exports = function (options) {
return this.gulp.src(options.src)
.pipe(this.babel())
.pipe(this.gulp.dest(options.dest))
}
in package.json :
{
"dependencies": {
"gulp-babel": "*"
}
}
P.S. to support coffee-script tasks just use or gulpfile.coffee, or in head of gulpfile.js write
require('coffee-script/register')
enjoy ;)
FAQs
gulp-lazy-task - lazy gulp task loader
The npm package gulp-lazy-task receives a total of 1 weekly downloads. As such, gulp-lazy-task popularity was classified as not popular.
We found that gulp-lazy-task 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.