pomerantsev / generator-web-es6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A basic webapp Yeoman generator. For use only in development (no minification or full build tasks).

Features

  • use ES6 (provided by the 6to5 compiler and its polyfill);
  • write stylesheets in Sass;
  • forget about vendor prefixes (uses Autoprefixer with the last 2 versions option);
  • rebuilds scripts and styles when source files change, and automatically reloads the page in the browser (livereload).

How to use

  1. Install Yo: npm install -g yo
  2. Clone the repository to your machine: git clone https://github.com/pomerantsev/generator-web-es6
  3. cd into the newly created folder.
  4. npm link - creates a link in the global node modules folder to the current folder (to be able to use the generator globally). Then, to create a project using the generator:
  5. mkdir my-new-project
  6. cd my-new-project
  7. yo web-es6 - the generator will ask you for the name of the project, create the necessary files and install npm dependencies.

Enjoy!

About


Languages

Language:JavaScript 88.6%Language:HTML 10.0%Language:CSS 1.4%