MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / isEmberCLIAddon

Method isEmberCLIAddon

lib/models/project.js:203–205  ·  view source on GitHub ↗

Returns whether or not this is an Ember CLI addon. @method isEmberCLIAddon @return {Boolean} Whether or not this is an Ember CLI Addon.

()

Source from the content-addressed store, hash-verified

201 @return {Boolean} Whether or not this is an Ember CLI Addon.
202 */
203 isEmberCLIAddon() {
204 return !!this.pkg && !!this.pkg.keywords && this.pkg.keywords.indexOf('ember-addon') > -1;
205 }
206
207 /**
208 Returns the path to the configuration.

Callers 6

normalizeEntityNameFunction · 0.45
_defaultBlueprintFunction · 0.45
createBlueprintsMethod · 0.45
validateAndRunFunction · 0.45
discoverProjectAddonsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected