/typescript-demo

Typescript Demo app

Primary LanguageJavaScript

typescript-demo

For more details refer the blog

Typescript Integration with Grunt, Karma and Jasmine. It basically demonstrate the following

  • Object Orient Javascript
  • Generics
  • Module, Classes and Interfaces
  • Unit Testing and Mocking and Spying

DIRECTORY Structure


  • app/src ==> contains typescript files + this is where generated javascript would be kept
  • app/styles ==> contains your stylesheets
  • app/images ==> contains your images
  • build ==> contains files related to grunt/build
  • vendor ==> Client side dependencies would reside here
  • dist ==> Concatenated, Compiled, Comressed files would reside here, it should be copied to your web server

Usage


Just do the following and see the magic

grunt serve

Or

grunt build
http-server dist