https://github.com/idorobots/typescript-webpack-karma-seed
A seed project using TypeScript 2.0, Webpack and Karma.
https://github.com/idorobots/typescript-webpack-karma-seed
karma seed starter-project webpack
Last synced: 2 months ago
JSON representation
A seed project using TypeScript 2.0, Webpack and Karma.
- Host: GitHub
- URL: https://github.com/idorobots/typescript-webpack-karma-seed
- Owner: Idorobots
- Created: 2016-10-12T20:06:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-18T13:28:22.000Z (over 9 years ago)
- Last Synced: 2025-02-13T06:18:12.023Z (over 1 year ago)
- Topics: karma, seed, starter-project, webpack
- Language: JavaScript
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TypeScript 2.0 + Webpack + Karma
This is a seed project that does the following:
- Lints the code using **TS lint**.
- Tests the code using **Karma** and **Jasmine**:
+ on **PhantomJS**, **Chrome** and **Firefox** (`npm run test`),
+ only on **PhantomJS** (`npm run test:ci`, suitable for CI),
+ on all browsers with live-reload (`npm run test:watch`).
- Generates coverage report using **Istanbul** & **istanbul-remap**.
- Builds TypeScript sources with **Webpack** generating:
+ a minified, distributable **ES5** file with a separate **ES6 shim**,
+ complementary **type declarations**,
+ matching **sourcemaps**.
- Generates documentation using **Typedoc**.
- Packages bundled JavaScript and type declarations into a distributable library.
## Building:
```
npm install
npm run build
npm pack
```
## Testing:
```
npm test
npm run test:ci
npm run test:watch
```