https://github.com/alchaplinsky/generator-simpleapp
Yeoman generator for simple website with sass, coffee, autoprefixer and livereload
https://github.com/alchaplinsky/generator-simpleapp
Last synced: about 1 year ago
JSON representation
Yeoman generator for simple website with sass, coffee, autoprefixer and livereload
- Host: GitHub
- URL: https://github.com/alchaplinsky/generator-simpleapp
- Owner: alchaplinsky
- Created: 2014-04-22T18:01:30.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-04T07:05:50.000Z (about 12 years ago)
- Last Synced: 2025-04-23T02:45:31.261Z (about 1 year ago)
- Language: JavaScript
- Size: 195 KB
- Stars: 10
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# generator-simpleapp [](https://travis-ci.org/alchapone/generator-simpleapp)
## Features
* CSS Autoprefixing
* Built-in preview server with LiveReload
* Automatically compile CoffeeScript & Sass
* Deploy site to gh-pages
## Getting Started
Make sure you have yo installed: ```npm install -g yo```
Install the generator: ```npm install -g generator-simpleapp```
Run: ```yo simpleapp```
## Usage
```grunt build``` Builds all content of ```app/``` directory into ```dist/```. Compiles coffee and sass files,
concatenates all scripts and stylesheets including third-party dependencies that are managed via ```bower```.
This will create single ```application.js``` and ```application.css``` files with all scripts and styles defined in
```head``` section of index.html file:
```grunt serve``` Runs local web-server on ```9000``` port, compiles all changes in coffee and sass files on the fly
and makes development process easy by running livereload automatically in the browser on file save. Also includes
css autoprefixer which automatically handles vendor prefixes.
```grunt deploy``` Runs build task and pushes built files into ```gh-pages``` branch on GitHub.
By default, if you're just calling ```grunt``` grunt runs ```serve``` task.
### 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](http://gruntjs.com) and [Bower](http://bower.io), check out the complete [Getting Started Guide](https://github.com/yeoman/yeoman/wiki/Getting-Started).
## License
MIT