| OLD | NEW |
| 1 [](https://travis-ci.org/dart-lang/js_facade_gen) | 1 [](https://travis-ci.org/dart-lang/js_facade_gen) |
| 2 | 2 |
| 3 Generates `package:js` Javascript interop facades for arbitrary TypeScript | 3 Generates `package:js` Javascript interop facades for arbitrary TypeScript |
| 4 libraries. | 4 libraries. |
| 5 | 5 |
| 6 ## Installation | 6 ## Installation |
| 7 | 7 |
| 8 - execute `npm i` to install the dependencies, | 8 - execute `npm i` to install the dependencies, |
| 9 - the Dart SDK must be available to run end to end tests. | 9 - the Dart SDK must be available to run end to end tests. |
| 10 | 10 |
| 11 ## Usage | 11 ## Usage |
| 12 | 12 |
| 13 `node build/lib/main.js --destination=<destination-dir> <input d.ts directory>` | 13 `node build/lib/main.js --useHtml --destination=<destination-dir> --basePath=<in
put d.ts file directory> <input d.ts file>` |
| 14 |
| 15 ### Example |
| 16 `node build/lib/main.js --useHtml --destination=/usr/foo/tmp/chartjs --basePath=
/usr/foo/git/DefinitelyTyped/chartjs /usr/foo/git/DefinitelyTyped/chartjs/chart.
d.ts` |
| 14 | 17 |
| 15 ## Gulp tasks | 18 ## Gulp tasks |
| 16 | 19 |
| 17 - `gulp watch` executes the unit tests in watch mode (use `gulp test.unit` for a
single run), | 20 - `gulp watch` executes the unit tests in watch mode (use `gulp test.unit` for a
single run), |
| 18 - `gulp test.e2e` executes the e2e tests, | 21 - `gulp test.e2e` executes the e2e tests, |
| 19 - `gulp test.check-format` checks the source code formatting using `clang-format
`, | 22 - `gulp test.check-format` checks the source code formatting using `clang-format
`, |
| 20 - `gulp test` runs unit tests, e2e tests and checks the source code formatting. | 23 - `gulp test` runs unit tests, e2e tests and checks the source code formatting. |
| 21 | 24 |
| 22 ## Publish | 25 ## Publish |
| 23 | 26 |
| 24 - `npm run prepublish` | 27 - `npm run prepublish` |
| 25 - `npm publish` | 28 - `npm publish` |
| OLD | NEW |