apeman-task-apstyle

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

Stats

StarsIssuesVersionUpdatedCreatedSize
apeman-task-apstyle
3.0.15 years ago6 years agoMinified + gzip package size for apeman-task-apstyle in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.