Skip to content
/ TS2 Public

Code samples and configuration to run a Typescript project.

License

Notifications You must be signed in to change notification settings

pflorian91/TS2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TS2

Abstract

TS2 contains code samples and configuration to run a Typescript project.

The intention is to keep this repository up-to-date with the latest version of Typescript available.

Code samples

  1. Design patterns

Configuration

The project has a build pipeline setup to compile Typescript 2+ through ES6 and, finally, to ES5.

I did not consider a browser integration useful here because this project must provide useful code snippets which you can copy-and-paste into another project.

The files are bundled using Gulp, compiled to ES6 using gulp-typescript and then to ES5 with gulp-babel.

gulp-typescript is a Gulp wrapper over the Typescript compiler. See TS compiler options for information on how to configure.

gulp-babel is a Gulp wrapper over Babel. See Babel API for information on how to configure.

Source maps are generated using gulp-sourcemaps.

Tslint

Some things which are used in configuration and you might want to be aware of:

About

Code samples and configuration to run a Typescript project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published