Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var _ = require('lodash');
var path = require('path');
var Package = require('dgeni').Package;
var jsDocProcessor = require('dgeni-packages/jsdoc');
// Configure the tags that will be parsed from the jsDoc.
jsDocProcessor.config(function(parseTagsProcessor) {
var tagDefs = parseTagsProcessor.tagDefinitions;
// Parse the following annotations.
tagDefs.push({name: 'alias'});
tagDefs.push({name: 'augments'});
tagDefs.push({name: 'deprecated'});
tagDefs.push({name: 'example'});
tagDefs.push({name: 'extends'});
tagDefs.push({name: 'external'});
tagDefs.push({name: 'private'});
tagDefs.push({name: 'type'});
tagDefs.push({name: 'view'});
tagDefs.push({name: 'template'});
tagDefs.push({name: 'fileoverview'});
tagDefs.push({name: 'const'});
tagDefs.push({name: 'throws'});