Package Exports
- base-task
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (base-task) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
base-task

base plugin that provides a very thin wrapper around https://github.com/doowb/composer for adding task methods to your application.
You might also be interested in base-watch.
Install
Install with npm:
$ npm install base-task --save
Usage
var Base = require('base-methods');
var tasks = require('base-task');
Base.use(tasks());
var base = new Base();
base.task('foo', function(cb) {
console.log('this is foo!');
cb();
});
base.task('bar', function(cb) {
console.log('this is bar!');
cb();
});
base.build(['foo', 'bar'], function(err) {
// this is foo!
// this is bar!
console.log('done!');
});
v0.3.0
- Bumped composer to v0.11.0, so the
.watch
method is no longer included by default. To add.watch
, use the base-watch plugin.
Related projects
Other base plugins you might be interested in:
- base: base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting… more | homepage
- base-cli: Plugin for base-methods that maps built-in methods to CLI args (also supports methods from a… more | homepage
- base-generators: Adds project-generator support to your
base
application. | homepage - base-option: Adds a few options methods to base, like
option
,enable
anddisable
. See the readme… more | homepage - base-plugins: Upgrade's plugin support in base applications to allow plugins to be called any time after… more | homepage
- base-store: Plugin for getting and persisting config values with your base-methods application. Adds a 'store' object… more | homepage
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Building docs
Generate readme and API documentation with [verb][]:
$ npm install verb && npm run docs
Or, if [verb][] is installed globally:
$ verb
Running tests
Install dev dependencies:
$ npm install -d && npm test
Author
Jon Schlinkert
License
Copyright © 2016 Jon Schlinkert Released under the MIT license.
This file was generated by verb, v0.9.0, on March 17, 2016.