Socket
Socket
Sign inDemoInstall

boar-tasks

Package Overview
Dependencies
896
Maintainers
5
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    boar-tasks

[![Dependency Status](https://david-dm.org/emartech/boar-tasks.svg)](https://david-dm.org/emartech/boar-tasks)


Version published
Maintainers
5
Install size
174 MB
Created

Readme

Source

boar-tasks Codeship Status for emartech/boar-tasks

Dependency Status

Example tasks

Prerequisites

var config = require('./tasks.config');
var tasks = require('boar-tasks').getTasks(gulp, config);

Publishing

Deploying to S3 and registering files in Emarsys Redirector service.

gulp.task('publish', ['publish-s3', 'publish-redirector']);
gulp.task('publish-s3', function() { return tasks.s3.publish(); });
gulp.task('publish-redirector', function() { return tasks.redirector.save(); });

Revision customization

By default Boar-tasks will use a timestamp based revision on the s3.publish and the redirector.save tasks. If you prefer to use the version number as revision from the package.json then change the revision.type property of the task configuration to package.

If you would like to setup the revision by yourself you can define it in two different ways:

1. Use --revision argument
gulp publish --revision myCustomRevision
2. Directly add revisions to the tasks
var revision = 'myCustomRevision';

gulp.task('publish', ['publish-s3', 'publish-redirector']);
gulp.task('publish-s3', function() { return tasks.s3.publish(revision); });
gulp.task('publish-redirector', function() { return tasks.redirector.save(revision); });

FAQs

Last updated on 25 Mar 2016

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc