This repository is meant to be a starting point for the enterprising Typescript developer.
It showcases the following tooling.
-
yarn as a blazing fast, featureful alternative to NPM
-
TypeDoc to create API documentation
- note: currently, TypeDoc is incompatible with Typescript@^2.x.x.
The providedinstall.sh
script therefore installs a global copy of
Typescript 2.1.6. Unfortunately this behaviour breaks npm posttest hooks,
thus TypeDoc would have to be run manually.
- note: currently, TypeDoc is incompatible with Typescript@^2.x.x.
-
TypeScript compilation and
.d.ts
definition generation. -
Jest. A modern, well integrated test framework with optional Typescript
support (provided through ts-jest) and coverage reporting.The file
index.js
includes a simple, node compatible example of how one
may import and consume a Typescript => ES6/CommonJS compiled module.npm test
manually runs Jest and produces a full lcov coverage report.typedoc -out API_Docs
generates the API documentation insideAPI_Docs/