{"id":13395627,"url":"https://github.com/dart-archive/ts2dart","last_synced_at":"2025-03-13T22:30:39.953Z","repository":{"id":28881075,"uuid":"32405591","full_name":"dart-archive/ts2dart","owner":"dart-archive","description":"ts2dart TypeScript to Dart transpiler","archived":true,"fork":false,"pushed_at":"2016-08-16T01:12:08.000Z","size":822,"stargazers_count":180,"open_issues_count":37,"forks_count":61,"subscribers_count":28,"default_branch":"master","last_synced_at":"2024-04-12T17:18:43.823Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dart-archive.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}},"created_at":"2015-03-17T16:28:22.000Z","updated_at":"2024-04-08T12:21:13.000Z","dependencies_parsed_at":"2022-09-13T02:52:49.094Z","dependency_job_id":null,"html_url":"https://github.com/dart-archive/ts2dart","commit_stats":null,"previous_names":["angular/ts2dart"],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-archive%2Fts2dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-archive%2Fts2dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-archive%2Fts2dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-archive%2Fts2dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dart-archive","download_url":"https://codeload.github.com/dart-archive/ts2dart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221303554,"owners_count":16794777,"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":[],"created_at":"2024-07-30T18:00:26.764Z","updated_at":"2024-10-25T10:30:23.503Z","avatar_url":"https://github.com/dart-archive.png","language":"TypeScript","funding_links":[],"categories":["Development-Tools","Other Language Targets"],"sub_categories":[],"readme":"# TypeScript to Dart transpiler [![Build Status](https://travis-ci.org/angular/ts2dart.svg?branch=master)](https://travis-ci.org/angular/ts2dart)\n\nts2dart is a TypeScript to Dart transpiler. It's mainly used to translate Angular 2 from TypeScript\nto Dart for its Dart user base.\n\n## Usage\n\n- To install as Command Line Tool execute: `npm i -g ts2dart`\n- Once installed you could run it doing: `ts2dart inputFile.ts`\n\n## Installation\n\n- execute `npm i` to install the dependencies,\n- the Dart SDK must be available to run end to end tests.\n\n## Gulp tasks\n\n- `gulp watch` executes the unit tests in watch mode (use `gulp test.unit` for a single run),\n- `gulp test.e2e` executes the e2e tests,\n- `gulp test.check-format` checks the source code formatting using `clang-format`,\n- `gulp test` runs unit tests, e2e tests and checks the source code formatting.\n\n## Phabricator Reviews\n\nYou can send pull requests via Github, or by creating a Phabricator diff on\nhttps://reviews.angular.io. Both are fine, though Phabricator has a nicer code review UI.\n\nTo create a Phabricator diff:\n\n- create an account on https://reviews.angular.io\n- install [Arcanist](https://secure.phabricator.com/book/phabricator/article/arcanist/)\n- run `arc diff` to upload a diff (= pull request). This will also run all tests.\n- get it reviewed by entering a \"Reviewer\", e.g. \"mprobst\", \"alexeagle\", \"viks\", ...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdart-archive%2Fts2dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdart-archive%2Fts2dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdart-archive%2Fts2dart/lists"}