Skip to content

TypeScript example boilerplate describing a modern tool pipeline.

Notifications You must be signed in to change notification settings

Happy-Ferret/TS-Example

Repository files navigation

TS-Example

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 provided install.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.
  • 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 inside API_Docs/

About

TypeScript example boilerplate describing a modern tool pipeline.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published