/angular-typescript-webpack

My angular typescript webpack architecture

Primary LanguageTypeScriptMIT LicenseMIT

angular-typescript-webpack

Angular + Typescript + Webpack build with Karma and wallaby tests support. And this all with sourcemaps in production support!!

Install

npm i webpack typings typescript -g
git clone git@github.com/brechtbilliet/angular-typescript-webpack.git
cd angular-typescript-webpack
npm install
npm start

Then it will automatically open the app in your browser

To run tests

npm test

Coverage

open reports/coverage/index.html

Build

npm install
npm run build

Features

  • Build basic Angular app with webpack
  • Simple twitter application
  • fully tested with Jasmine
  • sass support
  • Coverage report
  • Typescript support
  • ES6 modules support
  • Running tests in PhantomJS
  • Wallaby.js support
  • Karma support
  • Optimized build package
  • Minimal and straightforward setup
  • Watches code and refreshes browser with latest changes automatically
  • Sourcemap support in develop AND PRODUCTION!!! (don't deploy the js.map file with your application, but use it to debug your production app)