Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

simple-copy-files

gudatr51MIT1.0.6TypeScript support: included

A simple but powerful cli command to copy files during e.g. a build without dependencies

simple, copy, files, copy files, build, 0 dependencies, cli, command, front-end, back-end, frontend, backend

readme

simple-copy-files

A simple but powerful cli command to copy files during e.g. a build without dependencies

Installation

npm install --save-dev simple-copy-files

Required parameters:

source

Folder to copy files and folder structure from e.g.: source=./src/views

destination

Folder to copy to e.g.: destination=./build/views

types

File types to copy e.g.: types=.png,.html,.css

npm exec simplecopyfiles source=./src/views destination=./build/views types=.png,.html,.css

This command would copy all .png, .html and .css files from the ./src/views folder to the ./build/views folder and keep the necessary file structure.