npm.io
0.5.2 • Published 8 years ago

counsel-rule-copy

Licence
ISC
Version
0.5.2
Deps
2
Vulns
0
Weekly
0
Stars
1

counsel-rule-copy

copy files/folders from a counsel rule project into a target project.

example

  • create your rule
'use strict'

const CopyRule = require('counsel-rule-copy')

module.exports = new CopyRule({
  src: '/absolute/path/to/thing',
  dest: '<path>/to/thing',
  // if dest is relative, it is relative to the target
  // project's root directory.
})