OLD | NEW |
---|---|
1 # TypeScript to Dart transpiler [](https://travis-ci.org/angular/ts2dart) | 1 # TypeScript to Dart JS Interop facade generator [](https://travis-ci.org/dart-l ang/js_facade_gen) |
kevmoo
2016/08/08 17:28:04
Need to discuss how to actually install and use *t
| |
2 | 2 |
3 ts2dart is a TypeScript to Dart transpiler. It's mainly used to translate Angula r 2 from TypeScript | 3 Generates package:js JS Interop faces for arbitrary TypeScript libraries. |
4 to Dart for its Dart user base. | |
5 | 4 |
6 ## Installation | 5 ## Installation |
7 | 6 |
8 - execute `npm i` to install the dependencies, | 7 - execute `npm i` to install the dependencies, |
9 - the Dart SDK must be available to run end to end tests. | 8 - the Dart SDK must be available to run end to end tests. |
10 | 9 |
11 ## Gulp tasks | 10 ## Gulp tasks |
12 | 11 |
13 - `gulp watch` executes the unit tests in watch mode (use `gulp test.unit` for a single run), | 12 - `gulp watch` executes the unit tests in watch mode (use `gulp test.unit` for a single run), |
14 - `gulp test.e2e` executes the e2e tests, | 13 - `gulp test.e2e` executes the e2e tests, |
15 - `gulp test.check-format` checks the source code formatting using `clang-format `, | 14 - `gulp test.check-format` checks the source code formatting using `clang-format `, |
16 - `gulp test` runs unit tests, e2e tests and checks the source code formatting. | 15 - `gulp test` runs unit tests, e2e tests and checks the source code formatting. |
17 | |
18 ## Phabricator Reviews | |
19 | |
20 You can send pull requests via Github, or by creating a Phabricator diff on | |
21 https://reviews.angular.io. Both are fine, though Phabricator has a nicer code r eview UI. | |
22 | |
23 To create a Phabricator diff: | |
24 | |
25 - create an account on https://reviews.angular.io | |
26 - install [Arcanist](https://secure.phabricator.com/book/phabricator/article/arc anist/) | |
27 - run `arc diff` to upload a diff (= pull request). This will also run all tests . | |
28 - get it reviewed by entering a "Reviewer", e.g. "mprobst", "alexeagle", "viks", ... | |
OLD | NEW |