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

Method isEmberCLIProject

lib/models/project.js:181–183  ·  view source on GitHub ↗

Returns whether or not this is an Ember CLI project. This checks whether ember-cli is listed in (dev)Dependencies. @private @method isEmberCLIProject @return {Boolean} Whether this is an Ember CLI project

()

Source from the content-addressed store, hash-verified

179 @return {Boolean} Whether this is an Ember CLI project
180 */
181 isEmberCLIProject() {
182 return (this.cli ? this.cli.npmPackage : 'ember-cli') in this.dependencies();
183 }
184
185 /**
186 Returns whether this is a Vite-based project.

Callers 8

blueprintLookupPathsMethod · 0.95
normalizeEntityNameFunction · 0.80
runFunction · 0.80
initFunction · 0.80
isUpdateFunction · 0.80
addAddonsToProjectFunction · 0.80
isForProjectMethod · 0.80
project-test.jsFile · 0.80

Calls 1

dependenciesMethod · 0.95

Tested by

no test coverage detected