ts-library-template
TypeScript icon, indicating that this package has built-in type declarations

3.12.0 • Public • Published

A template for writing next awesome TypeScript library/project.

The idea

The idea behind this project is to provide a ready-to-use base for writing a library or end project in TypeScript, with all the tools needed without days wasted on Googling random error messages produced by TS/JS ecosystem hell.

See also JS-only, previous project: js-library-template. This project should replace it.

Usage

Install ts-library-template globally.

Create new library:

  • tslib <dirname> and answer some questions to create your project.

Upgrade library after upgrading ts-library-template:

  • tslib <dirname> and maybe accept upgrade if needed.

Upgrades are not always fully compatible, especially if you change some configuration, everything should be however easy to fix.

Upgrade existing non-React library to React library:

  • tslib <dirname> --jsx

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i ts-library-template

Weekly Downloads

7

Version

3.12.0

License

MIT

Unpacked Size

792 kB

Total Files

146

Last publish

Collaborators

  • dzek69