Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Sample application using Brunch and Spine

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .npmignore
Octocat-spinner-32 README.md
Octocat-spinner-32 config.coffee
Octocat-spinner-32 package.json
README.md

Brunch with coffee

This is a simple coffee skeleton for Brunch.

Main languages are CoffeeScript, Stylus and Handlebars.

Getting started

Clone the repo and run npm install & brunch build. See more info on the official site

Overview

config.coffee
README.md
/app/
  /assets/
    index.html
    images/
  /lib/
  models/
  styles/
  views/
  application.coffee
/test/
  functional/
  unit/
/vendor/
  scripts/
    jquery.js
    console-helper.js
    underscore.js
    spine.js
    spine/lib/ajax.js
    spine/lib/local.js
    spine/lib/manager.js
    spine/lib/route.js
    spine/lib/tmpl.js
  styles/
    normalize.css
    helpers.css
  • config.coffee contains configuration of your app. You can set plugins / languages that would be used here.
  • app/assets contains images / static files. Contents of the directory would be copied to build/ without change. Other app/ directories could contain files that would be compiled. Languages, that compile to JS (coffeescript, roy etc.) or js files and located in app are automatically wrapped in module closure so they can be loaded by require('module/location').
  • app/models & app/views contain base classes your app should inherit from.
  • test/ contains feature & unit tests.
  • vendor/ contains all third-party code. The code wouldn’t be wrapped in modules, it would be loaded instantly instead.

This all will generate public/ (by default) directory when brunch build or brunch watch is executed.

Other

Versions of software the skeleton uses:

  • jQuery 1.7.2
  • Spine 1.0.6
  • Underscore 1.3.3
  • HTML5Boilerplate 3.0.3

The license is public domain. Use it however you want.

Something went wrong with that request. Please try again.