Comparing version 0.11.3 to 0.11.4
@@ -24,4 +24,5 @@ 'use strict'; | ||
this.tasks = {}; | ||
utils.define(this, '_appname', name || 'composer'); | ||
utils.define(this, '_appname', name || this._appname || 'composer'); | ||
utils.define(this, 'buildHistory', { | ||
configurable: true, | ||
get: function() { | ||
@@ -28,0 +29,0 @@ return builds; |
{ | ||
"name": "composer", | ||
"description": "API-first task runner with three methods: task, run and watch.", | ||
"version": "0.11.3", | ||
"version": "0.11.4", | ||
"homepage": "https://github.com/doowb/composer", | ||
@@ -31,5 +31,5 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"co": "^4.6.0", | ||
"component-emitter": "^1.2.0", | ||
"component-emitter": "^1.2.1", | ||
"define-property": "^0.2.5", | ||
"is-generator": "^1.0.2", | ||
"is-generator": "^1.0.3", | ||
"is-glob": "^2.0.1", | ||
@@ -43,19 +43,19 @@ "isobject": "^2.0.0", | ||
"assemble-loader": "^0.3.0", | ||
"assemble-render-file": "^0.3.1", | ||
"assemble-streams": "^0.4.0", | ||
"async": "^1.5.2", | ||
"bluebird": "^3.1.5", | ||
"assemble-render-file": "^0.5.2", | ||
"assemble-streams": "^0.5.0", | ||
"async": "^2.0.0-rc.3", | ||
"bluebird": "^3.3.5", | ||
"composer-runtimes": "^0.7.0", | ||
"engine-handlebars": "^0.8.0", | ||
"gulp": "^3.9.0", | ||
"gulp-eslint": "^1.1.1", | ||
"gulp": "^3.9.1", | ||
"gulp-eslint": "^2.0.0", | ||
"gulp-extname": "^0.2.2", | ||
"gulp-format-md": "^0.1.5", | ||
"gulp-istanbul": "^0.10.3", | ||
"gulp-format-md": "^0.1.8", | ||
"gulp-istanbul": "^0.10.4", | ||
"gulp-mocha": "^2.2.0", | ||
"mocha": "^2.4.2", | ||
"mocha": "^2.4.5", | ||
"parser-front-matter": "^1.3.0", | ||
"templates": "^0.11.0", | ||
"through2": "^2.0.0", | ||
"write": "^0.2.1" | ||
"templates": "^0.17.0", | ||
"through2": "^2.0.1", | ||
"write": "^0.3.1" | ||
}, | ||
@@ -73,10 +73,10 @@ "keywords": [ | ||
"verb": { | ||
"plugins": [ | ||
"gulp-format-md" | ||
], | ||
"related": { | ||
"list": [ | ||
"assemble", | ||
"base", | ||
"base-tasks", | ||
"composer", | ||
"generate", | ||
"templates", | ||
"update", | ||
@@ -86,6 +86,16 @@ "verb" | ||
}, | ||
"plugins": [ | ||
"gulp-format-md" | ||
"toc": false, | ||
"layout": "default", | ||
"tasks": [ | ||
"readme" | ||
], | ||
"lint": { | ||
"reflinks": true | ||
}, | ||
"reflinks": [ | ||
"base-tasks", | ||
"composer", | ||
"verb" | ||
] | ||
} | ||
} |
@@ -1,7 +0,5 @@ | ||
# composer [![NPM version](https://img.shields.io/npm/v/composer.svg)](https://www.npmjs.com/package/composer) [![Build Status](https://img.shields.io/travis/doowb/composer.svg)](https://travis-ci.org/doowb/composer) | ||
# composer [![NPM version](https://img.shields.io/npm/v/composer.svg?style=flat)](https://www.npmjs.com/package/composer) [![NPM downloads](https://img.shields.io/npm/dm/composer.svg?style=flat)](https://npmjs.org/package/composer) [![Build Status](https://img.shields.io/travis/doowb/composer.svg?style=flat)](https://travis-ci.org/doowb/composer) | ||
> API-first task runner with three methods: task, run and watch. | ||
**Heads up** `.watch` has been removed as of version `0.11.0`. If you need watch functionality, use [base-tasks](https://github.com/jonschlinkert/base-tasks) and [base-watch](https://github.com/node-base/base-watch). | ||
## Install | ||
@@ -12,5 +10,7 @@ | ||
```sh | ||
$ npm i composer --save | ||
$ npm install composer --save | ||
``` | ||
**Heads up** the `.watch` method was removed in version `0.11.0`. If you need _watch_ functionality, use [base-tasks](https://github.com/jonschlinkert/base-tasks) and [base-watch](https://github.com/node-base/base-watch). | ||
## Usage | ||
@@ -24,3 +24,3 @@ | ||
### [.task](index.js#L65) | ||
### [.task](index.js#L67) | ||
@@ -55,3 +55,3 @@ Register a new task with it's options and dependencies. To return the task object of an already registered task, pass the name of the task without any additional parameters. | ||
### [.build](index.js#L121) | ||
### [.build](index.js#L125) | ||
@@ -74,3 +74,3 @@ Build a task or array of tasks. | ||
### [.series](index.js#L181) | ||
### [.series](index.js#L185) | ||
@@ -106,3 +106,3 @@ Compose task or list of tasks into a single function that runs the tasks in series. | ||
### [.parallel](index.js#L213) | ||
### [.parallel](index.js#L217) | ||
@@ -142,3 +142,3 @@ Compose task or list of tasks into a single function that runs the tasks in parallel. | ||
[composer](https://github.com/jonschlinkert/composer) is an event emitter that may emit the following events: | ||
[composer](https://github.com/doowb/composer) is an event emitter that may emit the following events: | ||
@@ -149,3 +149,3 @@ ### starting | ||
The event emits 2 arguments, the current instance of [composer](https://github.com/jonschlinkert/composer) as the `app` and an object containing the build runtime information. | ||
The event emits 2 arguments, the current instance of [composer](https://github.com/doowb/composer) as the `app` and an object containing the build runtime information. | ||
@@ -163,3 +163,3 @@ ```js | ||
The event emits 2 arguments, the current instance of [composer](https://github.com/jonschlinkert/composer) as the `app` and an object containing the build runtime information. | ||
The event emits 2 arguments, the current instance of [composer](https://github.com/doowb/composer) as the `app` and an object containing the build runtime information. | ||
@@ -234,10 +234,28 @@ ```js | ||
You might also be interested in these projects: | ||
* [assemble](https://www.npmjs.com/package/assemble): Assemble is a powerful, extendable and easy to use static site generator for node.js. Used… [more](https://www.npmjs.com/package/assemble) | [homepage](https://github.com/assemble/assemble) | ||
* [base](https://www.npmjs.com/package/base): base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting… [more](https://www.npmjs.com/package/base) | [homepage](https://github.com/node-base/base) | ||
* [base-tasks](https://www.npmjs.com/package/base-tasks): base-methods plugin that provides a very thin wrapper around [https://github.com/jonschlinkert/composer](https://github.com/jonschlinkert/composer) for adding task methods to… [more](https://www.npmjs.com/package/base-tasks) | [homepage](https://github.com/jonschlinkert/base-tasks) | ||
* [generate](https://www.npmjs.com/package/generate): Fast, composable, highly extendable project generator with a user-friendly and expressive API. | [homepage](https://github.com/generate/generate) | ||
* [templates](https://www.npmjs.com/package/templates): System for creating and managing template collections, and rendering templates with any node.js template engine.… [more](https://www.npmjs.com/package/templates) | [homepage](https://github.com/jonschlinkert/templates) | ||
* [update](https://www.npmjs.com/package/update): Easily keep anything in your project up-to-date by installing the updaters you want to use… [more](https://www.npmjs.com/package/update) | [homepage](https://github.com/update/update) | ||
* [verb](https://www.npmjs.com/package/verb): Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used… [more](https://www.npmjs.com/package/verb) | [homepage](https://github.com/verbose/verb) | ||
## Contributing | ||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/composer/issues/new). | ||
## Building docs | ||
Generate readme and API documentation with [verb](https://github.com/verbose/verb): | ||
```sh | ||
$ npm install verb && npm run docs | ||
``` | ||
Or, if [verb](https://github.com/verbose/verb) is installed globally: | ||
```sh | ||
$ verb | ||
``` | ||
## Running tests | ||
@@ -248,9 +266,5 @@ | ||
```sh | ||
$ npm i -d && npm test | ||
$ npm install -d && npm test | ||
``` | ||
## Contributing | ||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/composer/issues/new). | ||
## Author | ||
@@ -265,3 +279,3 @@ | ||
Copyright © 2016 [Jon Schlinkert](https://github.com/jonschlinkert) | ||
Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert). | ||
Released under the [MIT license](https://github.com/doowb/composer/blob/master/LICENSE). | ||
@@ -271,2 +285,2 @@ | ||
_This file was generated by [verb](https://github.com/verbose/verb), v0.1.0, on February 12, 2016._ | ||
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on April 20, 2016._ |
27849
558
274
Updatedcomponent-emitter@^1.2.1
Updatedis-generator@^1.0.3