0.1.4 • Published 9 years ago

@skivvy/skivvy-package-copy v0.1.4

Weekly downloads
1
License
ISC
Repository
github
Last release
9 years ago

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:

NameTypeRequiredDefaultDescription
sourcestring,ArrayYesN/AFiles/folders to copy
destinationstringYesN/ADestination path
optionsobjectNo{}Copy options
options.overwritebooleanNofalseWhether to overwrite destination files
options.dotbooleanNofalseWhether to copy files beginning with a .
options.junkbooleanNofalseWhether to copy OS junk files (e.g. .DS_Store, Thumbs.db)
options.filterfunction, RegExp, string, arrayNonullFilter function / regular expression / glob that determines which files to copy
options.renamefunctionNonullFunction that maps source paths to destination paths
options.transformfunctionNonullFunction that returns a transform stream used to modify file contents