Package Exports
- @vimlet/copy
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vimlet/copy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
This is a tool that copy files.
Features
- Copy files.
- Watcher to look for changes and update files on the fly.
Installation
npm install @vimlet/copy
Usage
copy.copy(include, output, options, callback);
Copy files in given pattern.
- include: Directory to look for files.
- output: Directory where files will be written.
- options:
- exclude: Used to skip files that you don't want to copy.
- clean: Empty output directory before copy.
- callback.
copy.watch(include, output, options);
Watch for file changes in given pattern.
- include: Directory to look for files.
- output: Directory where files will be written.
- options:
- exclude: Used to skip files that you don't want to copy.
- clean: Empty output directory before copy.
Command mode:
vimlet-copy -i include -o output -e exclude -cCalls copy.copy
vimlet-copy -i include -o output -e exclude -c -wCalls copy.watch
License
This project is under MIT License. See LICENSE for details.