2.0.0 • Published 9 years ago

apeman-task-subpack v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

apeman-task-subpack

Build Status Code Climate Code Coverage npm Version JS Standard

apeman task to link sub packages

This tasks creates a symbolic links into node_modules to avoid "require('../../../../') problem".

Installation

$ npm install apeman-task-subpack --save-dev

Usage

  1. Define a task within Apemanfile.js
  2. Call the task via apeman task command.

Apemanfile.js

/** This is an example Apemanfile to use apeman-task-subpack */

'use strict'

module.exports = {
  $pkg: { /* ... */ },
  $tasks: {
    // Define your own task.
    'lib:subpack': require('apeman-task-subpack')(
      'lib/**/package.json', {
        // Options
        ignore: 'node_modules'
      })
  }
}

Then,

$ apeman task my-task-01

Signature

define(pattern, options) -> function

apeman task to link sub packages

Args
NameTypeDefaultDescription
patternstringFile name pattern.
optionsobjectOptional settings.
options.ignorestringstring[]Patterns to ignore.

License

This software is released under the MIT License.

Links

2.0.0

9 years ago

1.0.0

9 years ago