/todos-ts

Demo app for AngularJS training using Typescript and Webpack

Primary LanguageJavaScriptMIT LicenseMIT

todos-ts

About

Demo app for AngularJS training using Typescript and Webpack

  • AngularJS
    • of course ;)
  • TypeScript
    • the future of JavaScript available now
  • TSLint
    • linter for TypeScript (checks code quality/style)
  • Typings
    • manage TypeScript type definitions
  • TSDoc
    • generate API documentation
  • FakeRest
    • fake rest API server
  • Karma
    • unit test runner
  • Jasmine
    • bdd unit testing library
  • Webpack
    • module bundler & loader

This project has been adapted from the AngularJS TodoMVC example for learning purposes: https://github.com/tastejs/todomvc/tree/master/examples/angularjs

Installation

First of all, make sure that you have installed NodeJS & npm: https://nodejs.org/en

Then you can get this project in 2 ways:

Now you can download all the necessary dependencies using the setup script: npm install.

Main Scripts

  • npm run test: run unit tests with Karma
  • npm run server: start the Webpack development server
  • npm run lint: check typescript code quality/style
  • npm run tsc: compile typescript files into javascript
  • npm run typings-install: install typings defined in typings.json file

License

This project and all associated source code is licensed under the terms of the MIT License.