Skip to content

FooStudio/brunch-with-foo

Repository files navigation

Languages

Features

Plugins

Getting started

$ npm install
$ bower install
$ brunch w -s

Animated Regions

Animated Region

Generators

First install scaffolt:

npm install -g scaffolt

Then you can use the following commands to generate files:

scaffolt itemView <name>
    → app/views/name.coffee
    → test/views/name_test.coffee

scaffolt compositeView <name>
    → app/views/name.coffee
    → test/views/name_test.coffee

scaffolt collectionView <name>
    → app/views/name.coffee
    → test/views/name_test.coffee

scaffolt model <name>
    → app/models/name.coffee
    → test/models/name_test.coffee

scaffolt style <name>
    → app/views/styles/name.styl

scaffolt template <name>
    → app/views/templates/name.hbs

scaffolt layout <name>
        → app/views/layouts/name.coffee

scaffolt collection <name>
    → app/collections/name.coffee
    → test/collections/name_test.coffee

scaffolt module <name>
    → app/viewsItem/name.coffee
    → test/viewsItem/name_test.coffee
    → app/models/name.coffee
    → test/models/name_test.coffee
    → app/views/styles/name.styl
    → app/views/templates/name.hbs

Testing

To run your tests using Karma you will need to install phantomjs:

brew update && brew install phantomjs

Run the tests:

cake test

Build and test your app:

cake build:test

You can change Karma's configuration by editing test/karma.conf.coffee and add any test helpers by editing test/helpers.coffee.

Releases

No releases published

Packages

No packages published