Code Monkey home page Code Monkey logo

ts2dart's Introduction

TypeScript to Dart transpiler Build Status

ts2dart is a TypeScript to Dart transpiler. It's mainly used to translate Angular 2 from TypeScript to Dart for its Dart user base.

Usage

  • To install as Command Line Tool execute: npm i -g ts2dart
  • Once installed you could run it doing: ts2dart inputFile.ts

Installation

  • execute npm i to install the dependencies,
  • the Dart SDK must be available to run end to end tests.

Gulp tasks

  • gulp watch executes the unit tests in watch mode (use gulp test.unit for a single run),
  • gulp test.e2e executes the e2e tests,
  • gulp test.check-format checks the source code formatting using clang-format,
  • gulp test runs unit tests, e2e tests and checks the source code formatting.

Phabricator Reviews

You can send pull requests via Github, or by creating a Phabricator diff on https://reviews.angular.io. Both are fine, though Phabricator has a nicer code review UI.

To create a Phabricator diff:

  • create an account on https://reviews.angular.io
  • install Arcanist
  • run arc diff to upload a diff (= pull request). This will also run all tests.
  • get it reviewed by entering a "Reviewer", e.g. "mprobst", "alexeagle", "viks", ...

ts2dart's People

Contributors

alexeagle avatar alfonso-presa avatar caitp avatar chalin avatar hansl avatar harryterkelsen avatar igorminar avatar jacob314 avatar jeffbcross avatar jsayol avatar jteplitz avatar luisvt avatar marclaval avatar matsko avatar mprobst avatar ochafik avatar piloopin avatar rkirov avatar vicb avatar vikerman avatar vsavkin avatar yjbanov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.