• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

rejahrehim/gulp-hologram: Generate Hologram style guides with Gulp

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

rejahrehim/gulp-hologram

开源软件地址(OpenSource Url):

https://github.com/rejahrehim/gulp-hologram

开源编程语言(OpenSource Language):

JavaScript 100.0%

开源软件介绍(OpenSource Introduction):

gulp-hologram

NPM version Downloads

Generate Hologram style guides with gulp

Getting Started

This plugin requires gulp.

If you haven't used gulp before, be sure to check out the Getting Started guide, as it explains how to create a gulpfile as well as install and use gulp plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install gulp-hologram --save-dev

Once the plugin has been installed, it may be enabled inside your gulpfile with this line of JavaScript:

var hologram = require('gulp-hologram');

The "hologram" task

Overview

In your project's gulpfile, add a section named hologram . The path to your hologram config file as source.

gulp.task('hologram', function() {
        gulp.src('config.yml')
                .pipe(hologram());
});

Options

options.logging

Type: Boolean Set logging: true to enable Logging.

gulp.task('hologram', function() {
        gulp.src('config.yml')
                .pipe(hologram({logging:true}));
});

options.bundler

Type: 'Boolean' Set bundler: true to invoke hologram via bundler.

gulp.task('hologram', function() {
        gulp.src('config.yml')
                .pipe(hologram({bundler:true, logging:true}));
});

Contributing

Take care to maintain the existing coding style. gulp.

TO DO

-Add unit tests

Release History

  • 1.2.3 (Added .yaml file support)
  • 1.2.0 (Fixed Bugs)
  • 1.1.0 (Added support for Bundler)
  • 1.0.0 (First release)

License

Copyright (c) 2014 Rejah Rehim. Licensed under the MIT license.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap