A TypeScript library.
- Usage
- Features
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 t
: Run test suitenpm start
: Runnpm run build
in watch modenpm run test:watch
: Run test suite in interactive watch modenpm run test:prod
: Run linting and generate coveragenpm run build
: Generate bundles and typings, create docsnpm run lint
: Lints codenpm run commit
: Commit using conventional commit style (husky will tell you to use it if you haven't 😉)