JSPM

ng-annotate-adf-plugin

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 111
  • Score
    100M100P100Q82243F
  • License MIT

ng-annotate plugin for angular-dashboard-framework widgets

Package Exports

  • ng-annotate-adf-plugin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ng-annotate-adf-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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/'));
});