Nerdy People Matriculate
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

broccoli-copy

0.1.0 • Public • Published

broccoli-copy

Merges and copies trees. Tracks file changes and copies only changed files, also removes those removed in source trees.

Usage

var tree = copy([<tree1>, <tree2>], options)

Options:

  • extensions: array of allowed extensions
  • filter: regular expression for filtering paths
  • dest_dir: copy files to a subdirectory

Example

Example brocfile:

var copy = require("broccoli-copy");

module.exports = copy(["styles", "app"], {
  extensions: ["css", "js"]
});

COPYING

MIT License.

install

npm i broccoli-copy

Downloadsweekly downloads

2

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar