Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

A Yeoman generator for TypeScript library project

Notifications You must be signed in to change notification settings

lessmost/generator-ts-lib-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-ts-lib-starter

A Yeoman generator to create a base template for TypeScript library project.

Features

  • Pre-defined tsconfig to start with
  • Build commonjs module output (main filed in package.json)
  • Build ES6 module output (module filed in package.json)
  • Build UMD dist output, include development source map version and minify version (browser filed in package.json)

Usage

Install Yeoman

npm install -g yo

Install generator-ts-lib-starter

npm install -g generator-ts-lib-starter

Create your TypeScript lib project:

mkdir mylib && cd mylib
yo ts-lib-starter

Build your project

npm run build