apeman-task-subpack
apeman task to link sub packages
Last updated 2 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install apeman-task-subpack 
SYNC missed versions from official npm registry.

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

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependencies (3)
Dev Dependencies (11)

Copyright 2014 - 2016 © taobao.org |