📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

package-name

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

package-name

Package description

0.1.0
latest
npm
Version published
Weekly downloads
1.3K
8%
Maintainers
1
Weekly downloads
 
Created
Source

Brunch with Hampsters

This is the Ember.js Brunch app skeleton that I always wanted. And now I have it! Muwahahaah.

Languages

Bonus Features

Getting started

brunch new <appname> --skeleton https://github.com/wordofchristian/brunch-with-hampsters
brunch w -s

or

$ git clone git@github.com:wordofchristian/brunch-with-hampsters.git
$ npm install
$ brunch w -s

or

$ git clone git@github.com:wordofchristian/brunch-with-hampsters.git && npm install && brunch w -s

Generators

There are some helpful generators to get you started.

First install scaffolt

npm install -g scaffolt

Calling scaffolt controller corn will make a new controller at app/controllers/corn.coffee

module.exports = CornController = Em.ObjectController.extend
  content: null

The following generators are supported out of the box:

  • Controller
  • Model (T)
  • ModelTest
  • Style
  • Template
  • View (T)
  • ViewTest

(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.

##Testing

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 autoreload.

Kudos

This started as a frankenmoster of my favorite parts of elving/brunch-with-hipsters and charlesjolley/ember-brunch

Special thanks to both those smart brunchers.

FAQs

Package last updated on 29 Jul 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts