Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

apeman-task-apstyle

3.0.1 • Public • Published

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

Install

npm i apeman-task-apstyle

DownloadsWeekly Downloads

4

Version

3.0.1

License

MIT

Last publish

Collaborators

  • avatar