Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 911 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 911 Bytes

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