Socket
Socket
Sign inDemoInstall

gulp-bump

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "gulp-bump",
"description": "Bump npm versions with Gulp (gulpjs.com)",
"version": "0.1.1",
"version": "0.1.2",
"homepage": "http://github.com/stevelacy/gulp-bump",

@@ -6,0 +6,0 @@ "repository": "git://github.com/stevelacy/gulp-bump.git",

@@ -5,2 +5,4 @@ #gulp-bump

> Bump any json file which supports [semver](http://semver.org/) versioning
## Information

@@ -14,3 +16,4 @@

<td>Description</td>
<td>Bump npm versions with Gulp (gulpjs.com)</td>
<td>Bump any Semver version json file
with gulp (gulpjs.com)</td>
</tr>

@@ -40,3 +43,3 @@ <tr>

gulp.task('bump', function(){
gulp.src('./package.json')
gulp.src('./component.json')
.pipe(bump())

@@ -50,3 +53,3 @@ .pipe(gulp.dest('./'));

gulp.task('bump', function(){
gulp.src('./package.json')
gulp.src('./*.json')
.pipe(bump({type:'minor'}))

@@ -56,3 +59,20 @@ .pipe(gulp.dest('./'));

// Defined method of updating:
// Semantic major
gulp.task('bump', function(){
gulp.src('./bower.json')
.pipe(bump({type:'major'}))
.pipe(gulp.dest('./'));
});
// Update bower, component, npm at once:
gulp.task('bump', function(){
gulp.src(['./bower.json', './component.json', './package.json'])
.pipe(bump({type:'major'}))
.pipe(gulp.dest('./'));
});
// Run the gulp tasks

@@ -59,0 +79,0 @@ gulp.task('default', function(){

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc