Skip to content

Scaffold with Require.js, Mocha, PhantomJS, Backbone, Coffee, Jade & Stylus

License

Notifications You must be signed in to change notification settings

Gijsjan/generator-backbone-amd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generator for Yeoman

Scaffolds an app with Backbone.js, Require.js and Mocha-phantomjs testing.

Make sure you have Yeoman installed: sudo npm install -g yo

Get the generator

Run the generator

  • mkdir ~/my_app
  • cd ~/my_app
  • yo backbone-amd

Mocha in the browser (tests in .test/tests.js)

  • npm start
  • Browse to 0.0.0.0:8000/.test/index.html

Mocha in the browser and console (tests in test/*.coffee)

  • grunt watch
  • edit a .coffee file in /test
  • Browse to 0.0.0.0:8000/.test/index.html

About

Scaffold with Require.js, Mocha, PhantomJS, Backbone, Coffee, Jade & Stylus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published