Socket
Socket
Sign inDemoInstall

@hugsmidjan/gulp-copy

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @hugsmidjan/gulp-copy

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


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

1.0.1

2019-11-01

  • feat: Initial commit

Readme

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

Last updated on 01 Nov 2019

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