Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-svn

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-svn - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "gulp-svn",
"version": "1.0.2",
"version": "1.0.3",
"description": "SVN plugin for gulp (gulpjs.com)",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/yasinkocak/gulp-svn",

@@ -23,2 +23,37 @@ #gulp-svn

### Install
npm install gulp-svn --save
npm install gulp-svn --save
## Example
```javascript
var gulp = require('gulp');
var svn = require('gulp-svn');
// Run svn add
gulp.task('add', function(){
return svn.add('/file.js');
}
// Run svn add with error
gulp.task('add', function(){
return svn.add('./file.js', function(err){
if(err) throw err;
});
});
// Run svn add with options
gulp.task('add', function(){
return svn.add('./file.js', {args: '--force'}, function(err){
if(err) throw err;
});
});
// Run svn commit
gulp.task('commit', function(){
return svn.commit('Initial commit', function(err){
if(err) throw err;
});
});
// Run gulp
gulp.task('default',['add', 'commit']);
```
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc