0.2.1 • Published 7 years ago

generator-pugcoffeesass v0.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

PugCoffeeSass Yeoman Generator

Pug + Coffeescript + Sass web project generator, with Grunt, made for simple websites.

dependencies Status devDependencies Status

Getting Started

Prerequisites

This generator requires NodeJS to run its tools. The generated project requires Ruby and Sass, a CSS extension language, installed with the following command:

gem install sass

You will also need to install Grunt, a Javascript task runner:

npm install -g grunt-cli

Installing

Once all prerequisites are installed, it is easy to get up and running with this boilerplate.

First, you'll need to install Yeoman and this generator:

npm install -g yo generator-pugcoffeesass

Then, run the following command:

yo pugcoffeesass

And you are good to go!

Usage

Development

Launch the dev server with the command:

grunt server

And access it on your browser via http://localhost:3000.

Every modification in the src/ directory triggers a new build and reloads your browser page.

Production

Build the project with the command:

grunt build

You'll find the compiled files in the generated dist/ folder.

Features

Tests

Testing this package requires Mocha and CoffeeScript:

npm install -g mocha coffeescript

You can then run the tests with the following command:

npm test

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.