1.1.6 • Published 6 years ago

styleguide-lite v1.1.6

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

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

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago