Skip to content

Angular2 seed with Webpack • Typescript • Karma • SASS

License

Notifications You must be signed in to change notification settings

ASK83/angular2-webpack-seed

Repository files navigation

Build Status

Angular2 Webpack Seed

  • Angular2
  • Jasmine
  • Karma
  • SASS
  • Typescript
  • Webpack
  • Webpack Development Server

Features

  • Inline external HTML templates into typescript component files (optional)
  • Inline and autoprefix external SCSS files into typescript component files (optional)
  • Inject style tags into index.html (optional)
  • Inject script tags into index.html
  • Bundle and minify release builds

Getting Started

Prerequisites

  • node >=5.10

Installing Dependencies

$ npm install
$ npm run typings

Usage

Script Description
npm start Start the Webpack DevServer at localhost:3000
npm run build Lint, test, and build the application to ./target
npm run dev Same as npm start
npm run lint Lint .ts files using tslint
npm test Run unit tests with Karma and Jasmine
npm run test:watch Run unit tests with Karma and Jasmine; watch for changes to re-run tests
npm run typings Install ambient typings
npm version Bump package.json version, generate CHANGELOG.md, git commit and tag (see npm version)

About

Angular2 seed with Webpack • Typescript • Karma • SASS

Resources

License

Stars

Watchers

Forks

Packages

No packages published