https://github.com/ducksoupdev/vue-webpack-typescript
A Vue, Webpack, Typescript, Bootstrap setup with hot reload, dynamic imports, unit testing, code coverage, sass, uncss and bundling/minification.
https://github.com/ducksoupdev/vue-webpack-typescript
mocha typescript typescript2 vuejs2 webpack3
Last synced: 3 months ago
JSON representation
A Vue, Webpack, Typescript, Bootstrap setup with hot reload, dynamic imports, unit testing, code coverage, sass, uncss and bundling/minification.
- Host: GitHub
- URL: https://github.com/ducksoupdev/vue-webpack-typescript
- Owner: ducksoupdev
- Archived: true
- Created: 2017-01-24T10:07:04.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-16T20:44:44.000Z (over 7 years ago)
- Last Synced: 2024-02-12T23:20:35.254Z (almost 2 years ago)
- Topics: mocha, typescript, typescript2, vuejs2, webpack3
- Language: TypeScript
- Homepage:
- Size: 277 KB
- Stars: 661
- Watchers: 34
- Forks: 106
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-vue-zh - Vue WebPACK打字稿 - Vue 2.2 WebPACK 2和TeaScript 2的安装,热重新加载,单元测试,代码覆盖,SAS和捆绑/缩小. (脚手架 / 顾客)
- awesome-vue - vue-webpack-typescript ★662 - A Vue 2.2 Webpack 2 and Typescript 2 setup with hot reload, unit testing, code coverage, sass and bundling/minification. (Scaffold / Client)
- awesome-vue - vue-webpack-typescript - A Vue 2.2 Webpack 2 and Typescript 2 setup with hot reload, unit testing, code coverage, sass and bundling/minification. (Scaffold / Client)
README
# webpack-typescript
> A Vue 2.5, Webpack 3.10, Typescript 2.7, Bootstrap 4.0 setup with hot reload, dynamic imports, unit testing,
code coverage, sass and bundling/minification.
> See the [changelog](CHANGELOG.md) for updates.
### Usage
This is a project template for [vue-cli < 3.x](https://github.com/vuejs/vue-cli).
``` bash
$ 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, code splitting and icon generation
- `npm run ci:teamcity`: Teamcity CI integration
- `npm run ci:jenkins`: Jenkins CI integration