A front-end generator for Yeoman
Want to see pretty graphs? Log in now!
npm install generator-sblocks
|12||downloads in the last month|
|Last Published By|
|Version||0.0.3 last updated 5 months ago|
|Keywords||yeoman-generator, coffee-script, stylus, handlebars, requirejs|
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
Install the template
To install the template, just install Starting Blocks using npm:
sudo npm install -g generator-sblocks
Create a new Project directory
Choose where you want the project to be created and create a directory:
mkdir ClientName-ProjectName cd ClientName-ProjectName
Create a new Project
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.