0.1.0 • Published 7 years ago

generator-first v0.1.0

Weekly downloads
13
License
-
Repository
github
Last release
7 years ago

generator-first NPM version Build Status Dependency Status Coverage percentage

Installation

First, install Yeoman and generator-first using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-first

Then generate your new project:

yo first

How to use

To start compiling your project:

gulp

For loading Google fonts to use gulp task fonts_load from the object fontsForDownloaded (just get your API key on Google Fonts Developer API and add it in the variable fontList):

var fontsForDownloaded = [
    {
        family: "Roboto",
        variant: ['300', '300italic']
    },
    {
        family: "Open Sans",
        variant: ['300', '400', '600']
    },
    {
        family: "Lato",
        variant: ['300', '700']
    }
];
gulp fonts_load

For generating of browser fonts and css from ttf or otf files, just run:

gulp fontgen

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

© Liuba Khomych