A Vue 2.2 Webpack 2 and Typescript 2 setup with hot reload, unit testing, code coverage, sass and bundling/minification.
TypeScript JavaScript HTML CSS
Latest commit 72862da Apr 7, 2017 @ducksoupdev Update changelog
Permalink
Failed to load latest commit information.
template Add chrome test debugging Apr 7, 2017
.editorconfig Initial commit. Jan 24, 2017
.gitignore Refactor tests and uplift libs Mar 17, 2017
CHANGELOG.md Update changelog Apr 7, 2017
README.md Add chrome test debugging Apr 7, 2017
meta.json Initial commit. Jan 24, 2017

README.md

webpack-typescript

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

This template is for Vue 2.2

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 proper 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.
  • npm run ci:teamcity: Teamcity CI integration
  • npm run ci:jenkins: Jenkins CI integration