task-registry-resource

0.1.1 • Public • Published

task-registry-resource npm

Build Status Code Climate Test Coverage downloads license

Resource Task is an abstract resource processing task. It's registered to task-registry which is a task register and manager. It adds the src property for the file patterns to limit the files to be processed. the passed aOptions is a resource file object.

Usage

ResourceTask  = require 'task-registry-resource'
Task          = require 'task-registry'
register      = Task.register
aliases       = Task.aliases
 
class TestResourceTask
  register TestResourceTaskResourceTask
  aliases TestResourceTask'Test''test'
 
  constructor: -> return super
  _executeSync: sinon.spy (aFile)->aFile
 

API

TODO

License

MIT

Package Sidebar

Install

npm i task-registry-resource

Weekly Downloads

5

Version

0.1.1

License

MIT

Last publish

Collaborators

  • riceball