This is the Ember.js Brunch app skeleton that I always wanted. And now I have it! Muwahahaah.
brunch new <appname> --skeleton https://github.com/wordofchristian/brunch-with-hampsters brunch w -s
$ git clone firstname.lastname@example.org:wordofchristian/brunch-with-hampsters.git $ npm install $ brunch w -s
$ git clone email@example.com:wordofchristian/brunch-with-hampsters.git && npm install && brunch w -s
There are some helpful generators to get you started.
First install scaffolt
npm install -g scaffolt
scaffolt controller corn will make a new controller at
module.exports = CornController = Em.ObjectController.extend content: null
The following generators are supported out of the box:
(T) Denotes a generator that also generates it's own test file.
All the generators live inside the
/generators directory. They are easily
customizable and you can quickly create your own. See the saffolt for more information.
Includes mocha for testing.
./bin/test will run all the tests from from the command line using phantom-js.
If you want to run the tests in the browser you can run
brunch w -s and then
visit localhost:3333/test/. This works with
Special thanks to both those smart brunchers.