smmorneau / tour-of-heroes

Angular 2 Starter Project in Typescript with Linting, Minifying, and Bundling

Home Page:https://tour-of-heroes-typescript.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript Angular 2 + Node.js Starter Project with Linting, Minification, and Bundling

About

  • Webpack for module loading and bundling
    • See deprecated SystemJS version
    • Different configs for development, production, and testing
  • Angular 2 Code in Typescript
    • Scripts are split into "public/polyfills.js", "public/vendor.js", and "public/app.js"
  • Styles in SCSS
    • Global styles are bundled into "public/styles.css"
    • Component styles are bundled with app into "public/app.js"

Install

  • npm install: installs dependencies

Build

  • npm run build: compiles and bundles assets
  • npm run watch: builds then watches for changes

Serve

  • npm start: starts web server on port 8080

Test

  • npm run test: runs specs in headless Chrome with coverage report

About

Angular 2 Starter Project in Typescript with Linting, Minifying, and Bundling

https://tour-of-heroes-typescript.herokuapp.com/


Languages

Language:JavaScript 50.3%Language:TypeScript 31.9%Language:CSS 13.2%Language:HTML 4.6%