@tsdi/annotations
typescript class annotations is a solution for typescript class compile to es5 uglify. for project used tsioc to es5 uglify
Last updated 7 months ago by houjun .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @tsdi/annotations 
SYNC missed versions from official npm registry.

packaged @tsdi/annotations

This repo is for distribution on npm. The source for this module is in the main repo. Please file issues and pull requests against that repo.

typescript class annotations is a solution for typescript class compile to es5 uglify. for project used tsioc to es5 uglify.

Install

You can install this package either with npm.

npm


npm install @tsdi/annotations --save-dev

Demo

import { classAnnotations } '@tsdi/annotations';
const ts = require('gulp-typescript');
gulp.src('src/**/*.ts')
    .pipe(classAnnotations())
    .pipe(ts)

Demo for pack build

@Pack({
    baseURL: __dirname,
    src: 'src',
    clean: 'lib',
    test: 'test/**/*.spec.ts',
    assets: {
        ts: { dest: 'lib', annotation: true, uglify: false }
    }
})
export class AnnoBuilder {
}


pk build [taskfile.ts]

https://github.com/zhouhoujun/tsioc.git

Documentation

Documentation is available on the @tsdi/annotations docs site.

License

MIT © Houjun

Current Tags

  • 5.3.13                                ...           latest (a month ago)

85 Versions

  • 5.3.13                                ...           a month ago
  • 5.3.12                                ...           2 months ago
  • 5.3.10                                ...           2 months ago
  • 5.3.9                                ...           2 months ago
  • 5.3.8                                ...           2 months ago
  • 5.3.7                                ...           3 months ago
  • 5.3.6                                ...           3 months ago
  • 5.3.5                                ...           3 months ago
  • 5.3.2                                ...           3 months ago
  • 5.3.1                                ...           3 months ago
  • 5.3.0                                ...           3 months ago
  • 5.3.0-beta4                                ...           3 months ago
  • 5.2.16                                ...           4 months ago
  • 5.2.15                                ...           4 months ago
  • 5.2.14                                ...           4 months ago
  • 5.2.13                                ...           4 months ago
  • 5.2.12                                ...           4 months ago
  • 5.2.7                                ...           5 months ago
  • 5.2.6                                ...           5 months ago
  • 5.2.5                                ...           5 months ago
  • 5.2.4                                ...           5 months ago
  • 5.2.3                                ...           5 months ago
  • 5.2.2                                ...           5 months ago
  • 5.2.1                                ...           5 months ago
  • 5.1.19                                ...           5 months ago
  • 5.1.18                                ...           6 months ago
  • 5.1.17                                ...           6 months ago
  • 5.1.16                                ...           6 months ago
  • 5.1.15                                ...           6 months ago
  • 5.1.14                                ...           6 months ago
  • 5.1.13                                ...           6 months ago
  • 5.1.12                                ...           6 months ago
  • 5.1.11                                ...           6 months ago
  • 5.1.10                                ...           6 months ago
  • 5.1.8                                ...           6 months ago
  • 5.1.7                                ...           6 months ago
  • 5.1.6                                ...           6 months ago
  • 5.1.3                                ...           6 months ago
  • 5.1.1                                ...           7 months ago
  • 5.1.0                                ...           7 months ago
  • 5.0.24                                ...           7 months ago
  • 5.0.23                                ...           7 months ago
  • 5.0.22                                ...           7 months ago
  • 5.0.21                                ...           7 months ago
  • 5.0.20                                ...           7 months ago
  • 5.0.19                                ...           7 months ago
  • 5.0.18                                ...           7 months ago
  • 5.0.18-beta                                ...           7 months ago
  • 5.0.15                                ...           7 months ago
  • 5.0.13                                ...           7 months ago
  • 5.0.12                                ...           7 months ago
  • 5.0.11                                ...           7 months ago
  • 5.0.10                                ...           7 months ago
  • 5.0.8                                ...           7 months ago
  • 5.0.7                                ...           7 months ago
  • 5.0.5                                ...           7 months ago
  • 5.0.4                                ...           8 months ago
  • 5.0.3                                ...           8 months ago
  • 5.0.2                                ...           8 months ago
  • 5.0.1                                ...           8 months ago
  • 5.0.0-beta25                                ...           8 months ago
  • 5.0.0-beta24                                ...           8 months ago
  • 5.0.0-beta23                                ...           8 months ago
  • 5.0.0-beta22                                ...           8 months ago
  • 5.0.0-beta20                                ...           8 months ago
  • 5.0.0-beta19                                ...           8 months ago
  • 5.0.0-beta18                                ...           8 months ago
  • 5.0.0-beta17                                ...           8 months ago
  • 5.0.0-beta16                                ...           8 months ago
  • 5.0.0-beta15                                ...           8 months ago
  • 5.0.0-beta14                                ...           8 months ago
  • 5.0.0-beta13                                ...           8 months ago
  • 5.0.0-beta12                                ...           8 months ago
  • 5.0.0-beta11                                ...           8 months ago
  • 5.0.0-beta10                                ...           8 months ago
  • 5.0.0-beta9                                ...           8 months ago
  • 5.0.0-beta8                                ...           8 months ago
  • 5.0.0-beta7                                ...           8 months ago
  • 5.0.0-beta6                                ...           8 months ago
  • 5.0.0-beta5                                ...           8 months ago
  • 5.0.0-beta4                                ...           8 months ago
  • 5.0.0-beta3                                ...           8 months ago
  • 5.0.0-beta2                                ...           8 months ago
  • 5.0.0-beta1                                ...           8 months ago
  • 5.0.0-beta                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 85
Last Day 0
Last Week 85
Last Month 235
Dependencies (5)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |