{"id":15110336,"url":"https://github.com/pflorian91/ts2","last_synced_at":"2026-01-18T23:01:50.934Z","repository":{"id":207175248,"uuid":"88299992","full_name":"pflorian91/TS2","owner":"pflorian91","description":"Code samples and configuration to run a Typescript project.","archived":false,"fork":false,"pushed_at":"2017-05-09T20:23:43.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T16:48:29.274Z","etag":null,"topics":["babel","es5","es6","gulp","tsconfig","tslint","typescript2"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pflorian91.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-04-14T20:15:17.000Z","updated_at":"2017-04-15T14:09:03.000Z","dependencies_parsed_at":"2023-11-14T13:51:39.772Z","dependency_job_id":null,"html_url":"https://github.com/pflorian91/TS2","commit_stats":null,"previous_names":["pflorian91/ts2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pflorian91%2FTS2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pflorian91%2FTS2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pflorian91%2FTS2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pflorian91%2FTS2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pflorian91","download_url":"https://codeload.github.com/pflorian91/TS2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369937,"owners_count":20927927,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["babel","es5","es6","gulp","tsconfig","tslint","typescript2"],"created_at":"2024-09-25T23:44:22.232Z","updated_at":"2026-01-18T23:01:50.902Z","avatar_url":"https://github.com/pflorian91.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TS2\n\nAbstract\n---\nTS2 contains code samples and configuration to run a Typescript project.\n\nThe intention is to keep this repository up-to-date with the latest version of Typescript available.\n\nCode samples\n---\n\n1. Design patterns\n\nConfiguration\n---\n\nThe project has a build pipeline setup to compile Typescript 2+ through ES6 and, finally, to ES5.\n\nI 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.\n\nThe files are bundled using [Gulp](http://gulpjs.com/), compiled to ES6 using [gulp-typescript](https://github.com/ivogabe/gulp-typescript) and then to ES5 with [gulp-babel](https://www.npmjs.com/package/gulp-babel).\n\n[gulp-typescript](https://github.com/ivogabe/gulp-typescript) is a [Gulp](http://gulpjs.com/) wrapper over the [Typescript](https://www.typescriptlang.org) compiler.\nSee [TS compiler options](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for information on how to configure.\n\n[gulp-babel](https://www.npmjs.com/package/gulp-babel) is a [Gulp](http://gulpjs.com/) wrapper over [Babel](https://babeljs.io/). See [Babel API](https://babeljs.io/docs/usage/api/) for information on how to configure.\n\nSource maps are generated using [gulp-sourcemaps](https://www.npmjs.com/package/gulp-sourcemaps).\n\nTslint\n- https://github.com/panuhorsmalahti/gulp-tslint\n- https://palantir.github.io/tslint/\n- https://palantir.github.io/tslint/rules/\n\n\nSome things which are used in configuration and you might want to be aware of:\n- [merge2](https://www.npmjs.com/package/merge2) package used to merge the Typescript project streams\n- [Information from TS on Gulp integration ](https://www.typescriptlang.org/docs/handbook/gulp.html)\n- Breaking changes on [gulp-typescript v3]http://dev.ivogabe.com/gulp-typescript-3/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpflorian91%2Fts2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpflorian91%2Fts2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpflorian91%2Fts2/lists"}