Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Latest commit

 

History

History

plugin-copy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

👯 plugin-copy

npm linux windows coverage deps

Copy files to relative destination using streams and keeping folders structure.

Install

$ yarn add --dev @start/plugin-copy
# or
$ npm install --save-dev @start/plugin-copy

Usage

Signature

copy(outDirRelative: string)

Example

import sequence from '@start/plugin-sequence'
import find from '@start/plugin-find'
import copy from '@start/plugin-copy'

export const task = () =>
  sequence(
    find('src/**/*.json'),
    copy('build/')
  )