A template for webpack applications written in TypeScript, based off of the excellent angular-typescript-webpack.
git clone git@github.com/github.com/bobbylight/ts-webpack-app-template.git
cd ts-webpack-app-template
npm install
npm run dev
The application will be hosted at http://localhost:8080.
To run tests:
npm run test # Tests only
npm run coverage # Generates coverage report
Running the tests generates a coverage report:
open reports/coverage/index.html
To do a production (minified) build into dist/
:
npm install
npm run build
- Build application with webpack - build and dev configurations
- fully tested with Karma/Jasmine
- Coverage report
- Running tests in PhantomJS
- TypeScript support
- less support
- Optimized build package
- Minimal and straightforward setup
- Watches code and refreshes browser with latest changes automatically
- Sourcemap support in develop AND PRODUCTION!!! (don't deploy the js.map file with your application, but use it to debug your production app)
- Nice, strict tslint rule set
- .editorconfig configuration