/my-typescript-lib-boilerplate

A boilerplate for TypeScript, Jest and library.

Primary LanguageTypeScriptMIT LicenseMIT

my-typescript-lib-boilerplate

A boilerplate for TypeScript, Jest and library.

Setup

$ yarn install

Usage

Run

$ yarn ts-node src/bin/index.ts

or

$ yarn node dist/bin/index.js

Build

$ yarn build

Lint

$ yarn lint

Test

$ yarn test

and see also coverage report in your browser

$ npx http-server -o coverage/lcov-report

Format

$ yarn format