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

@hugsmidjan/gulp-copy

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hugsmidjan/gulp-copy

Simple copy-files-and-watch-for-changes task factory

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@hugsmidjan/gulp-images

npm install --save-dev @hugsmidjan/gulp-copy

Usage

const [copyFiles, copyWatch] = require('@hugsmidjan/gulp-copy')(opts);

API / Advanced usage

const copyTaskFactory = require('@hugsmidjan/gulp-copy');

const options = {
  // These are the defaults:
  name: 'copyFiles', // the display name of the generated tasks
  src: 'src/',
  dist: 'pub/',
  glob: [], // which files to glob up as entry points
  // glob: ['data/**/*.json', '!data/secret-stuff.json'] // <-- Example usage
};

// Create the gulp tasks based on the above options.
const copyTasks = copyTaskFactory(options);

// copyTasks is a two item array...
const [copyFiles, copyWatch] = copyTasks;
// ...but it also exposes the tasks as named properties.
const copyFiles = copyTasks.copy;
const copyWatch = copyTasks.watch;

FAQs

Package last updated on 01 Nov 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc