A front-end generator for Yeoman
Starting blocks is a project template that uses Yeoman scaffolding tools to help get up and running on a project quickly. It creates a lot of the project structure for you as well as giving a series of tools that can been called from the command line.
To install Yeoman, run this command on your terminal (you may be prompted to type your password):
sudo npm install -g yo
To install the template, just install Starting Blocks using npm:
sudo npm install -g generator-sblocks
Choose where you want the project to be created and create a directory:
mkdir ClientName-ProjectNamecd ClientName-ProjectName
Run this command to create the new project:
You will be prompted to answer some questions about the project which will form the basis of the projects README and implement some naming conventions. This command will also automatically install the grunt dependencies, so it may take a few seconds to finish.
- Stylus - A CSS preprocessor
The default task will compile and watch for changes on all CoffeeScript, Stylus and Handlebars files.
This task will compile and uglify your CoffeeScript and Stylus files to single files, and will also copy all other assets to the release/ folder.
This task will generate your bootstrap with all your CSS components.