generator-bedrock
v0.1.4
Published
Scaffolds out foundation 5, font-awesome and some opinionated folder structure.
Downloads
100
Readme
Generator Bedrock
Yeoman generator that scaffolds out a bunch of useful stuff. If you like it but consider that the defaults aren't useful please let me know.
Features
- libsass
- Zurb Foundation or Bootstrap Sass (See note below)
- Font-Awesome
- grunt-contrib-watch with connect-livereload
- Publishing to github pages with grunt-gh-pages
- grunt-uncss: Remove unused CSS (with limitations).
- And more...
Note: Bootstrap-sass is not currently compiling with node-sass's version of libsass (https://github.com/andrew/node-sass/issues/233#issuecomment-33733119). Should be working when the binaries get updated.
Getting Started
The Generator
To install generator-bedrock from npm, run:
$ npm install -g generator-bedrock
Finally, initiate the generator:
$ yo bedrock
While developing...
To run a local web server with livereload and other development tools:
$ grunt serve
While deploying...
You can build your project into the dist/
folder with:
$ grunt build
Or you can build your project and run it through a local web server (no livereload).
$ grunt serve:build
To build & publish with grunt-gh-pages
If you want to build your project and publish it run:
$ grunt publish
Getting To Know Yeoman
Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.
If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.