0.1.0 • Published 8 years ago

buildgem-copy v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

BuildGem

A BuildGem plugin to copy files verbatim from the source to the build directory.

This is a beta package. It is not recommended that you use this in production. The API is likely to change before the release of version 1.

Installation

npm install buildgem-copy

API

var buildgem = require('buildgem')
var copy = require('buildgem-copy')

buildgem()
  .from('./src')
  .to('./build')
  .via([
    copy({
      sources: {
        dir: 'verbatim',
        match: ['**/.*', '**/*.*']
      },
      messages: {
        success: 'Static files copied'
      }
    })
  ])
  .rebuild()

Options

  • sources.dir (string) Subdirectory that contains the source files for this plugin.
  • sources.match (array) One or more file name patterns that identify the source files.
  • messages.success (string) Message to print in the console when the plugin has finished.
0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago