1.1.5 • Published 6 years ago

ng-style-builder v1.1.5

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

NG Style Builder

Build Status npm David David license Greenkeeper badge

This is style boilerplate builder that I use when get project to create style some website. Generated style is based on Bootstrap v3

Usage

  Usage: ngstyler [options]

  Options:

    -V, --version                         output the version number
    -t --title <title>                    Project title
    -p --package-name <package>           Project package name. If you not use this option but passing title option it will auto generate from title.
    -n --version-number <version-number>  Version number
    -d --version-default                  Version number Default 1.0.0
    -s --style <style>                    Css preprocessor style type (less|sass)
    -e --ejs                              Use EJS for templating view
       --ejs-no                           Don't use EJS for templating view, just use plain html
    -j --test-js                          Use Javascript test
       --test-js-no                       Don't use Javascript test
    -c --test-css                         Use CSS test
       --test-css-no                      Don't use CSS test
    -g --git                              Use Git
       --git-no                           Don't use Git
    -i --install                          Automatically install all node dependencies
    -h, --help                            output usage information

If you not pass the options, or needed options not complete it will trigger interative shell to complete the needed value.

Minimal use is

ngstyler -dejcgi -t "Project Name" -s less

Note For now it only have less style support, but it will support sass soon.

Requirement

Builder

Generated

Installation

npm install -g ng-style-builder

Running Generated Styles Boilerplate

Generated boilerplate can compile using gulp

gulp dist

With dist task it will generated all file to package-name/dist directory If you want know all task available just run

gulp --tasks

License

MIT