https://github.com/micmro/ts-webpack-boilerplate
Simple Typescript + Webpack boilerplate code, with uglify, tslint and LESS support
https://github.com/micmro/ts-webpack-boilerplate
boilerplate-template dev-server less typescript webpack
Last synced: about 1 year ago
JSON representation
Simple Typescript + Webpack boilerplate code, with uglify, tslint and LESS support
- Host: GitHub
- URL: https://github.com/micmro/ts-webpack-boilerplate
- Owner: micmro
- License: mit
- Created: 2016-11-19T06:55:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-19T07:21:17.000Z (over 9 years ago)
- Last Synced: 2025-03-27T08:11:25.366Z (about 1 year ago)
- Topics: boilerplate-template, dev-server, less, typescript, webpack
- Language: JavaScript
- Size: 3.91 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ts-webpack-boilerplate
Simple Typescript + Webpack boilerplate code.
It supports the following out of the box:
- concatination
- uglify
- tslint
- LESS
- watch
- hot reloading
- source maps
# Setup
Just install dependencies.
```
npm install
```
# Commands
## To run the dev-server:
```
npm run serve
```
It starts on `http://localhost:8080` and automatically reloads the page for all file changes.
## To run a dev-build:
```
npm run build
```
Files are stored in `./dist`
## To run a prod build with uglification and source map:
```
npm run build-prod
```