Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 974 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 974 Bytes

TypeScript library

A TypeScript library.

Usage

  • Usage

Features

  • Features

Importing library

You can import the generated bundle to use the whole library generated by this starter:

import tsLib from 'ts-lib-project'

Additionally, you can import the transpiled modules from dist/lib in case you have a modular library:

import something from 'ts-lib-project/dist/lib/something'

NPM scripts

  • npm t: Run test suite
  • npm start: Run npm run build in watch mode
  • npm run test:watch: Run test suite in interactive watch mode
  • npm run test:prod: Run linting and generate coverage
  • npm run build: Generate bundles and typings, create docs
  • npm run lint: Lints code
  • npm run commit: Commit using conventional commit style (husky will tell you to use it if you haven't 😉)

Setup steps

FAQ