angular-cn/tools/ts-metadata-collector
Tobias Bosch 188bda813e chore: rename `tools/metadata` into `tools/ts-metadata-collector`
Needed to that we can use the locally compiled one during
our tests.
2016-05-04 10:53:28 -07:00
..
src chore: rename `tools/metadata` into `tools/ts-metadata-collector` 2016-05-04 10:53:28 -07:00
test chore: rename `tools/metadata` into `tools/ts-metadata-collector` 2016-05-04 10:53:28 -07:00
README.md chore: rename `tools/metadata` into `tools/ts-metadata-collector` 2016-05-04 10:53:28 -07:00
index.ts chore: rename `tools/metadata` into `tools/ts-metadata-collector` 2016-05-04 10:53:28 -07:00
package.json chore: rename `tools/metadata` into `tools/ts-metadata-collector` 2016-05-04 10:53:28 -07:00

README.md

TypeScript Decorator metadata collector

The .d.ts format does not preserve information about the Decorators applied to symbols. Some tools, such as Angular 2 template compiler, need access to statically analyzable information about Decorators, so this library allows programs to produce a foo.metadata.json to accompany a foo.d.ts file, and preserves the information that was lost in the declaration emit.

Releasing

$ gulp build.tools
$ cp tools/metadata/package.json dist/tools/metadata/
$ npm login [angularcore]
$ npm publish dist/tools/metadata