styleguide-lite

1.1.6 • Public • Published

styleguide-lite

Simple Styleguide Generator.

NPM Build Status MIT License

Installation

NPM

$ npm install styleguide-lite --save

Usage

CLI

Options:
  --src           src files path pattern. [string] [default: './src/scss/**/*.scss']
  --dest          dest directory path. [string] [default: './dest/assets/styleguide/']
  --template      template file path. [string] [default: __dirname + '/template/index.ejs']
  --version, -v   show this version. [boolean]
  --help, -h      show this help. [boolean]
$ styleguide-lite --src ./src/css/**/*.css --dest ./dest/assets/styleguide/ --template ./template/index.ejs

JavaScript

styleguideLite({
  src: ['./src/scss/**/*.scss'],
  dest: './dest/assets/styleguide/',
  templete: './template/index.ejs'
}).then(() => {
  console.log('complete!!');
});

CSS or SCSS

/*
===
<Section Number>.<Sub Section Number> <Title>
===
<Markdown>
*/
 
/*
===
0.0 Overview
===
Here markup text.
*/
 
/*
===
0.1 Detail
===
Here markup text.
*/
 
/*
===
1.0 Sample
===
Here markup text.
*/

Changelog

License

/styleguide-lite/

    Package Sidebar

    Install

    npm i styleguide-lite

    Weekly Downloads

    17

    Version

    1.1.6

    License

    MIT

    Unpacked Size

    15.1 kB

    Total Files

    19

    Last publish

    Collaborators

    • isaxxx