node package manager

apeman-task-apstyle

apeman-task-apstyle

Build Status Code Climate Code Coverage npm Version JS Standard

apeman task to render React ApStyle element as a css file.

Installation

$ npm install apeman-task-apstyle --save-dev

Usage

  1. Define a task within Apemanfile.js
  2. Call the task via apeman task command.

Apemanfile.js

/** This is an example Apemanfile to use apeman-task-apstyle */
 
'use strict'
 
module.exports = {
  $pkg: { /* ... */ },
  $tasks: {
    // Define your own task. 
    'ui:apstyle': require('apeman-task-apstyle')({
      // Options 
    })
  }
}
 

Then,

$ apeman task my-task-01

Signature

apemanTaskApStyle(src, dest, options) -> function

apeman task to render React ApStyle element as a css file.

Args
Name Type Default Description
src string React style source file.
dest string Destination file name.
options object Optional settings.
options.mode string 644 File permission mode.
options.props string {} Properties to render.

License

This software is released under the MIT License.

Links