A Vue 2, Webpack 3 and Typescript 2 setup with hot reload, unit testing, code coverage, sass and bundling/minification.
TypeScript JavaScript HTML CSS

README.md

webpack-typescript

A Vue, Webpack and Typescript setup with hot reload, unit testing, code coverage, sass and bundling/minification.

This template is for Vue 2.4. See the changelog for updates.

Usage

This is a project template for vue-cli.

$ npm install -g vue-cli
$ vue init ducksoupdev/vue-webpack-typescript my-project
$ cd my-project
$ npm install
$ npm run dev

What's Included

  • npm run dev: Webpack + Typescript with config for source maps & hot-reload
  • npm test: Mocha unit tests
  • npm run test:debug: Debug Mocha unit tests in Chrome
  • npm run test:watch: Fast feedback Mocha unit tests with hot-reload
  • npm run coverage: Karma coverage reporter
  • npm run lint: Lint all Typescript files
  • npm run build: build with HTML/CSS/JS minification and icon generation
  • npm run ci:teamcity: Teamcity CI integration
  • npm run ci:jenkins: Jenkins CI integration