@skivvy/skivvy-package-copy

0.1.4 • Public • Published

Skivvy package: copy

npm version Stability Build Status

Copy files and folders

Installation

skivvy install copy

Overview

This package allows you to copy files and folders from within the Skivvy task runner.

Included tasks

copy

Copy files and folders

Usage:

skivvy run copy

Configuration settings:

Name Type Required Default Description
source string,Array Yes N/A Files/folders to copy
destination string Yes N/A Destination path
options object No {} Copy options
options.overwrite boolean No false Whether to overwrite destination files
options.dot boolean No false Whether to copy files beginning with a .
options.junk boolean No false Whether to copy OS junk files (e.g. .DS_Store, Thumbs.db)
options.filter function, RegExp, string, array No null Filter function / regular expression / glob that determines which files to copy
options.rename function No null Function that maps source paths to destination paths
options.transform function No null Function that returns a transform stream used to modify file contents

Package Sidebar

Install

npm i @skivvy/skivvy-package-copy

Weekly Downloads

0

Version

0.1.4

License

ISC

Last publish

Collaborators

  • skivvy
  • timkendrick