ng-annotate-adf-plugin

0.1.2 • Public • Published

ng-annotate-adf-plugin

ng-annotate plugin to annotate angular-dashboard-framework widgets.

usage with gulp

package.json

{
  "devDependencies": {
    "gulp": "^3.8.10",
    "gulp-load-plugins": "^0.8.0",
    "gulp-ng-annotate": "^0.5.2",
    "ng-annotate-adf-plugin": "^0.1.0",
    "gulp-uglify": "^1.1.0"
  }
}
 

gulpfile.js

var gulp = require('gulp');
var $ = require('gulp-load-plugins')();
var annotateAdfPlugin = require('ng-annotate-adf-plugin');
 
var annotateOptions = {
  plugin: [
    annotateAdfPlugin
  ]
};
 
gulp.task('js', function() {
  gulp.src('src/*.js')
      .pipe($.ngAnnotate(annotateOptions))
      .pipe($.uglify())
      .pipe(gulp.dest('dist/'));
});
 

Readme

Keywords

Package Sidebar

Install

npm i ng-annotate-adf-plugin

Weekly Downloads

16

Version

0.1.2

License

MIT

Last publish

Collaborators

  • sdorra