apeman-task-subpack

2.0.0 • Public • Published

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
Name Type Default Description
pattern string File name pattern.
options object Optional settings.
options.ignore string string[]

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i apeman-task-subpack

Weekly Downloads

2

Version

2.0.0

License

MIT

Last publish

Collaborators

  • okunishinishi