Node.js 构建系统 Gear.js

码农软件 · 软件分类 · Node.js 扩展 · 2019-04-14 17:56:44

软件介绍

Gear 是易用,方便扩展,强大的 Node.js 和浏览器构建系统。

主要特性:

  • 可以结合接触构建块来执行复杂的构建

  • 任务可以简单定义,保持极其简单的系统内部

  • 异步执行

  • 通过 NPM,文件或者目录扩展任务加载

  • 为复杂任务执行提供高级流控制

  • 可以在 Node.js 和浏览器中运行

Chaining Tasks

new Queue()
 .read('foo.js') .log('read foo.js')
 .inspect()
 .write('foobarbaz.js')
 .run();

Execute Tasks Using Array Style

new Queue()
 .read(['foo.js', {name: 'bar.js'}, 'baz.js']) .log('read foo.js')
 .inspect()
 .write(['newfoo.js', 'newbar.js']) // Not writing 'baz.js'
 .run();

Parallel Task Execution

new Queue()
 .read('foo.js') .log('Parallel Tasks')
 .tasks({
    read:     {task: ['read', ['foo.js', 'bar.js', 'baz.js']]},
    combine:  {requires: 'read', task: 'concat'},
    minify:   {requires: 'combine', task: 'jsminify'},
    print:    {requires: 'minify', task: 'inspect'}, // Runs when read, combine, and minify complete
    parallel: {task: ['log', "Hello Gear.js world!"]} // Run parallel to read
 }).run();

本文地址:https://codercto.com/soft/d/3580.html

The Art of Computer Programming, Volume 2

The Art of Computer Programming, Volume 2

Knuth, Donald E. / Addison-Wesley Professional / 1997-11-04 / USD 79.99

Finally, after a wait of more than thirty-five years, the first part of Volume 4 is at last ready for publication. Check out the boxed set that brings together Volumes 1 - 4A in one elegant case, and ......一起来看看 《The Art of Computer Programming, Volume 2》 这本书的介绍吧!

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

html转js在线工具
html转js在线工具

html转js在线工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换