Skip to content

clkao/angular-brunch-seed-livescript

 
 

Repository files navigation

angular-brunch-seed-livescript

A started project for AngularJS using Brunch.io with LiveScript

AngularJS + Brunch + LiveScript

Features:

  • LiveScript / Sass / SCSS / Stylus automatically compiled on save
  • auto-reload during development saves you from manually refreshing the page
  • Javascript / CSS minification for production
  • testacular integration for unit tests
  • Bootstrap integration with themes.

How to use angular-brunch-seed-livescript

  • git clone https://github.com/clkao/angular-brunch-seed-livescript.git to clone the angular-brunch-seed-livescript repository
  • cd angular-brunch-seed-livescript
  • ./scripts/init.sh to install node packages

or if you have Brunch installed run:

brunch new myapp --skeleton https://github.com/clkao/angular-brunch-seed-livescript

Running the app during development

  • ./scripts/server.sh to serve using Brunch

Then navigate your browser to http://localhost:3333

Running the app in production

  • ./scripts/production.sh to minify javascript and css files.

Running unit tests

Notes:

  • If you would like to write your test in livescript run ./scripts/compile-tests.sh in a seperate window.
  • Testacular will run tests on save. To insure that changes are saved be sure to have ./script/server.sh or ./script/development.sh running in the console.
  • If you are on OS X you set the browsers that you would like to target in the /test/testacular_conf.js file E.g. browser = ["ChromeCanary", "Firefox"]

End to end testing

WIP

Common issues

EMFILE error

  • EMFILE means there're too many open files. Brunch watches all your project files and it's us

About

AngularJS + Brunch.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 54.9%
  • LiveScript 21.6%
  • JavaScript 13.7%
  • CoffeeScript 7.7%
  • Shell 2.1%