component-tsc
typescript compiler for component
compiles typescript
wherever you have a component.json enter component tsc
command and all your typescript files will be compiled.
component-tsc will compile all files with a ".ts" extension located below the path of your component's main.
automatically generates an external definition file for the component
if your component exposes its definition file using a "typescript" field in its component.json then component-tsc will automatically generate that external definition file for your component.
automatically imports definition files for each of the dependencies
if any of the component's dependencies expose their typescript definition file in component.json then these will be automatically referenced and placed in a file called _dependencies.d.ts alongside the main file of your component.
and more ...
running component tsc --install
will also install the dependencies.
see the example project contained within to find out more.
TODO
- Handle watch