apeman-task-apstyle
apeman task to render React ApStyle element as a css file.
Last updated 5 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install apeman-task-apstyle 
SYNC missed versions from official npm registry.

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

Current Tags

  • 3.0.1                                ...           latest (4 years ago)

15 Versions

  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.1.2                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.8                                ...           4 years ago
  • 1.0.7                                ...           4 years ago
  • 1.0.6                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (12)

Copyright 2014 - 2016 © taobao.org |