apeman-task-ico
apeman task to generate ico file.
Last updated 2 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install apeman-task-ico 
SYNC missed versions from official npm registry.

apeman-task-ico

Build Status Code Climate Code Coverage npm Version JS Standard

apeman task to generate ico file.

Installation

$ npm install apeman-task-ico --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-ico */

'use strict'

module.exports = {
    $pkg: {/* ... */},
    $tasks: {
        // Define your own task.
        'favicon:ico': require('apeman-task-ico')(
            'src/images/favicon.png',
            'public/favicon.ico',
            {
                //Options
                size:64
            }
        )
    }
}

Then,

#!/usr/bin/env bash
$ apeman task favicon:ico

Signature

define(options) -> function

apeman task to generate ico file.

Args
Name Type Default Description
options object Optional settings.
options.size number number[] [128, 64, 32]

License

This software is released under the MIT License.

Links

Current Tags

  • 1.0.4                                ...           latest (2 years ago)

5 Versions

  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 0
Last Month 6
Dependencies (3)
Dev Dependencies (10)

Copyright 2014 - 2017 © taobao.org |