1.0.4 • Published 8 years ago

apeman-task-ico v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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
NameTypeDefaultDescription
optionsobjectOptional settings.
options.sizenumbernumber[]128, 64, 32Favicon size.

License

This software is released under the MIT License.

Links

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago