Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A fast, concurrency-focused task automation tool.

License

NotificationsYou must be signed in to change notification settings

lukeed/taskr

Repository files navigation

Taskr

Taskr

NPM VersionTravisCIAppVeyorNPM Downloads
A fast, concurrency-focused task runner.
Fasten your seatbelt. 🚀

Taskr is a highly performant task runner, much like Gulp or Grunt, but written with concurrency in mind. With Taskr, everything is acoroutine, which allows for cascading and composable tasks; but unlike Gulp, it's not limited to the stream metaphor.

Taskr is extremely extensible, soanything can be a task. Our core system will accept whatever you throw at it, resulting in a modular system of reusable plugins and tasks, connected by a declarativetaskfile.js that's easy to read.

constsrc='src/{admin,client}';constdist='build';module.exports={*lint(task){yieldtask.source(`${src}/*.js`).xo({esnext:true});},*scripts(task){yieldtask.source(`${src}/*.js`).babel({presets:['es2015']}).target(`${dist}/js`);},*styles(task){yieldtask.source(`${src}/*.sass`).sass().autoprefixer().target(`${dist}/css`);},*build(task){yieldtask.parallel(['lint','scripts','styles']);}}

History

TL;DR This is the continuation of and successor toFly!

Fly's original author,Jorge Bucaran, has shifted focus to other exciting projects. Before leaving, he chose to guarantee Fly's future by transferring the project toLuke Edwards, who was one of the first and most enthused contributors.

To reflect this milestone, Fly has been renamed to Taskr and has a stable, exciting future ahead! 🎉

For existing Fly users,taskr@1.0.x is equivalent tofly@2.0.6 -- with a few exceptions:

  1. Theflyfile.js has been renamed totaskfile.js;
  2. Thefly key insidepackage.json has been renamed totaskr. (See Local Plugins)

At this point, the Fly &Taskr ecosystems are fully interchangeable, which means that you can installtaskr and use anyfly-* ortaskr-* plugins of your choosing. That said, most plugins havealready been ported over to the new namespace!

Lastly, Taskr will maintain a list ofofficial plugins. Don't forget to check 'em out!

Core Features

  • lightweight: with6 dependencies, installation takes seconds
  • minimal API: Taskr only exposes a couple methods, but they're everything you'll ever need
  • performant: because ofBluebird, creating and running Tasks are quick and inexpensive
  • cascadable: sequential Task chains can cascade their return values, becoming the next Task's argument
  • asynchronous: concurrent Task chains run without side effects & can beyielded consistently
  • composable: chain APIs and Tasks directly; say goodbye topipe() x 100!
  • modular: easily share or export individual Tasks or Plugins for later use
  • stable: requires Node>= 4.6 to run (LTS is6.11)

Docs

The main documentation can be found intaskr, our core package.

Each@taskr/* ortaskr-* plugin will also include its own documentation, too!

Packages

The Taskr repo is managed as a monorepo that is composed of its manyofficial packages.

Important: The core package istaskr and must be installed before using any additional plugins.

Official Packages

These npm packages are officially released and maintained by the Taskr team.

If you can't find what you need, be sure to check out thecommunity list or browse for alltaskr-related plugins onnpmjs.com, too!

If you're still missing something, open a ticket so that the team & community can try to help you... or create & share your own Taskr plugin! We have an awesomeYeoman generator to help speed up the process.

PackageVersionDependenciesDescription
taskrnpmDependency StatusCore package.Required
@taskr/babelnpmDependency StatusBabel plugin for Taskr
@taskr/browserifynpmDependency StatusBrowserify plugin for Taskr
@taskr/bublenpmDependency StatusBublé plugin for Taskr
@taskr/clearnpmDependency StatusRemove one or more directories
@taskr/coffeenpmDependency StatusCoffeeScript plugin for Taskr
@taskr/concatnpmDependency StatusConcatenate files with optional source maps.
@taskr/esnextnpmDependency StatusAllowsasync/await syntax withintaskfile.js
@taskr/flattennpmDependency StatusFlatten source files to a max of sub-dirs.
@taskr/gzipnpmDependency StatusGzip plugin for Taskr
@taskr/htmlminnpmDependency StatusMinify HTML with Taskr
@taskr/jestnpmDependency StatusJest plugin for Taskr
@taskr/lessnpmDependency StatusCompile LESS to CSS with Taskr
@taskr/postcssnpmDependency StatusPostCSS plugin for Taskr
@taskr/prettiernpmDependency StatusPrettier plugin for Taskr
@taskr/revnpmDependency StatusVersion/Hash assets for cache-busting
@taskr/sassnpmDependency StatusCompile SASS to CSS with Taskr
@taskr/shellnpmDependency StatusExecute shell commands with Taskr
@taskr/stylusnpmDependency StatusCompile Stylus to CSS with Taskr
@taskr/typescriptnpmDependency StatusCompile Typescript with Taskr
@taskr/uglifynpmDependency StatusUglifyJS plugin for Taskr
@taskr/unflownpmDependency StatusRemove Flow type annotations with Taskr
@taskr/watchnpmDependency StatusWatch files & Execute specified tasks on change
@taskr/zipnpmDependency StatusZIP compress files with Taskr
generator-taskrnpmDependency StatusOfficial Yeoman generator

Community Plugins

PackageVersionDependenciesDescription
taskr-autoprefixernpmDependency StatusCSS Autoprefixer plugin for Taskr
taskr-nunjucksnpmDependency StatusRender Nunjucks templates with Taskr
taskr-precachenpmDependency StatusCache assets for offline use via service worker
taskr-sveltenpmDependency StatusCompile Svelte components with Taskr
taskr-xonpmDependency StatusXO plugin for Taskr
taskr-standardnpmDependency StatusStandard plugin for Taskr
template-taskrnpmDependency StatusUnofficial SAO generator

License

MIT ©Luke Edwards andJorge Bucaran


[8]ページ先頭

©2009-2025 Movatter.jp