Name: js_facade_gen
Owner: Dart
Description: Generates package:js Javascript interop facades for arbitrary TypeScript libraries
Created: 2016-08-04 14:37:34.0
Updated: 2018-05-14 09:29:10.0
Pushed: 2016-10-19 22:28:39.0
Homepage: https://www.npmjs.com/package/dart_js_facade_gen
Size: 118
Language: TypeScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Generates package:js
Javascript interop facades for arbitrary TypeScript
libraries.
d.ts
consistently with other tools.npm install -g dart_js_facade_gen
to install.dart_js_facade_gen <input d.ts file>
Dart interop facade file is written to stdout.
dart_js_facade_gen --destination=<destination-dir> --basePath=<input d.ts file directory> <input d.ts file> <input d.ts file> ...
dart_js_facade_gen --destination=/usr/foo/tmp/chartjs/lib --basePath=/usr/foo/git/DefinitelyTyped/chartjs /usr/foo/git/DefinitelyTyped/chartjs/chart.d.ts
gulp watch
executes the unit tests in watch mode (use gulp test.unit
for a single run),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.npm run prepublish
npm publish