node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

task-kmc

task-kmc

KISSY module compiler.

The "kmc" task

Usage Examples

var kmc = new (require('task-kmc'))
kmc.run(inputs, options, logger)

Options

options.name

Type: path

Package name.

options.src

Type: string

Src file.

options.dest

Type: string Default: 'baz'

Dest file, if enable combo option dest should be a dir path.

options.packages

Type: object

KISSY packages config.

options.combo

Type: boolean

Generate modules with online combo mode to dest dir.

options.dep

Type: string Default: 'baz'

Generate all combo mode modules dependence config in dependence config file.

Release History

  • 2015-02-05 0.1.4 Simplify options.
  • 2015-02-02 0.1.3 Add more options.
  • 2014-11-11 0.1.2 Add packages option.
  • 2014-11-11 0.1.0 Initial release.

License

Copyright (c) 2014-2015 Yuanyan Cao. Licensed under the MIT license.